public class PaintUtil
extends java.lang.Object
| Constructor and Description |
|---|
PaintUtil() |
| Modifier and Type | Method and Description |
|---|---|
static float |
getCornerThickness()
Returns the value of the corner thickness
|
static float |
getLineThickness()
Returns the value of the line thickness of the border
|
static android.graphics.Paint |
newBackgroundPaint(android.content.Context context)
Creates the Paint object for drawing the translucent overlay outside the
crop window.
|
static android.graphics.Paint |
newBorderPaint(android.content.Context context)
Creates the Paint object for drawing the crop window border.
|
static android.graphics.Paint |
newCornerPaint(android.content.Context context)
Creates the Paint object for drawing the corners of the border
|
static android.graphics.Paint |
newGuidelinePaint()
Creates the Paint object for drawing the crop window guidelines.
|
@NonNull
public static android.graphics.Paint newBorderPaint(@NonNull
android.content.Context context)
context - the Context@NonNull public static android.graphics.Paint newGuidelinePaint()
@NonNull public static android.graphics.Paint newBackgroundPaint(android.content.Context context)
context - the Context@NonNull
public static android.graphics.Paint newCornerPaint(@NonNull
android.content.Context context)
context - the Contextpublic static float getCornerThickness()
public static float getLineThickness()