Java android.graphics.drawable NinePatchDrawable fields, constructors, methods, implement or subclass

Example usage for Java android.graphics.drawable NinePatchDrawable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics.drawable NinePatchDrawable.

The text is from its open source code.

Constructor

NinePatchDrawable(@NonNull NinePatch patch)
Create drawable from existing nine-patch, not dealing with density.
NinePatchDrawable(@Nullable Resources res, @NonNull NinePatch patch)
Create drawable from existing nine-patch, setting initial target density based on the display metrics of the resources.
NinePatchDrawable(@NonNull NinePatchState state, @Nullable Resources res)
The one constructor to rule them all.
NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk, Rect padding, String srcName)
Create drawable from raw nine-patch data, setting initial target density based on the display metrics of the resources.

Method