public interface FrameConfigInterface extends AspectConfigInterface
Modifier and Type | Method and Description |
---|---|
android.graphics.Rect |
calculateInnerRect(android.graphics.Rect inputRect) |
RelativeRectAccurate |
calculateInnerRect(RelativeRectFast inputRect) |
float[] |
calculateOuterOffsetAndScale() |
android.graphics.Rect |
calculateOuterRect(android.graphics.Rect inputRect) |
RelativeRectAccurate |
calculateOuterRect(RelativeRectFast inputRect) |
float |
calculateScale(android.graphics.Rect inputFullRect) |
float |
getFixedRelativeScale() |
java.math.BigDecimal |
getFrameAspect() |
CustomPatchFrameConfig |
getFrameConfig() |
ImageSource |
getFrameMaskSource()
This can get a separate mask drawable resource id, it can be a drawable or raw resource.
|
ImageSource |
getFrameSource()
Get frame drawable resource id, it can be a drawable or raw resource.
|
int |
getGroupId() |
android.graphics.Rect |
getImageLimit()
Gets the Region of the Image.
|
boolean |
hasEqualAspect(AspectConfigInterface o) |
boolean |
hasFixedRelativeScale() |
boolean |
hasMask() |
boolean |
isAspectFittingFrame() |
boolean |
isNonFrame() |
getAspect, getCropHeight, getCropWidth, hasSpecificSize, isFreeCrop
createViewHolder, generateBindData, generateBindDataAsync, getId, getLayout, getName, getVerticalLayout, isDirty, isSelectable, setDirtyFlag
android.graphics.Rect calculateInnerRect(android.graphics.Rect inputRect)
RelativeRectAccurate calculateInnerRect(RelativeRectFast inputRect)
float[] calculateOuterOffsetAndScale()
android.graphics.Rect calculateOuterRect(android.graphics.Rect inputRect)
RelativeRectAccurate calculateOuterRect(RelativeRectFast inputRect)
float calculateScale(android.graphics.Rect inputFullRect)
float getFixedRelativeScale()
java.math.BigDecimal getFrameAspect()
CustomPatchFrameConfig getFrameConfig()
@Nullable ImageSource getFrameMaskSource()
@Nullable ImageSource getFrameSource()
int getGroupId()
android.graphics.Rect getImageLimit()
boolean hasEqualAspect(@Nullable AspectConfigInterface o)
hasEqualAspect
in interface AspectConfigInterface
boolean hasFixedRelativeScale()
boolean hasMask()
boolean isAspectFittingFrame()
boolean isNonFrame()