Package io.anyline2.viewplugin
Class CutoutConfig
-
- All Implemented Interfaces:
public class CutoutConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
CutoutConfig.CutoutAlignment
public enum
CutoutConfig.AnimationStyle
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CutoutConfig()
CutoutConfig(JSONObject jsonObject)
-
Method Summary
Modifier and Type Method Description String
getCutoutAlignment()
static CutoutConfig.CutoutAlignment
getCutoutAlignment(String alignment)
String
getAnimationStyle()
static CutoutConfig.AnimationStyle
getAnimationStyle(String style)
static CutoutConfig
provideFullFrameCutoutConfig()
boolean
isRatioFromSizeDefined()
float
getRatio()
int
getFeedbackStrokeColor()
int
getOuterColor()
String
getOuterColorWithAlpha()
int
getCornerRadiusInPix(Context context)
int
getCutoutStrokeWidthInPix(Context context)
-
-
Constructor Detail
-
CutoutConfig
CutoutConfig()
-
CutoutConfig
CutoutConfig(JSONObject jsonObject)
-
-
Method Detail
-
getCutoutAlignment
String getCutoutAlignment()
-
getCutoutAlignment
static CutoutConfig.CutoutAlignment getCutoutAlignment(String alignment)
-
getAnimationStyle
String getAnimationStyle()
-
getAnimationStyle
static CutoutConfig.AnimationStyle getAnimationStyle(String style)
-
provideFullFrameCutoutConfig
static CutoutConfig provideFullFrameCutoutConfig()
-
isRatioFromSizeDefined
boolean isRatioFromSizeDefined()
-
getRatio
float getRatio()
-
getFeedbackStrokeColor
int getFeedbackStrokeColor()
-
getOuterColor
int getOuterColor()
-
getOuterColorWithAlpha
String getOuterColorWithAlpha()
-
getCornerRadiusInPix
int getCornerRadiusInPix(Context context)
-
getCutoutStrokeWidthInPix
int getCutoutStrokeWidthInPix(Context context)
-
-
-
-