public static interface AbstractConfig.FrameConfigInterface extends DataSourceInterface<AbstractConfig.BindData>
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Rect |
calculateInnerRect(android.graphics.Rect inputRect) |
RelativeRect |
calculateInnerRect(RelativeRect inputRect) |
float[] |
calculateOuterOffsetAndScale() |
android.graphics.Rect |
calculateOuterRect(android.graphics.Rect inputRect) |
RelativeRect |
calculateOuterRect(RelativeRect inputRect) |
float |
calculateScale(android.graphics.Rect inputFullRect) |
float |
getFrameAspect() |
int |
getFrameId()
Get frame drawable resource id, it can be a drawable or raw resource.
|
int |
getFrameMaskId()
This can get a separate mask drawable resource id, it can be a drawable or raw resource.
|
android.graphics.Rect |
getImageLimit()
Gets the Region of the Image.
|
boolean |
hasMask() |
boolean |
isNonFrame() |
createViewHolder, generateBindData, generateBindDataAsync, getLayout, getName, getVerticalLayout, isDirty, isSelectable, setDirtyFlag@DrawableRes @RawRes int getFrameId()
@DrawableRes @RawRes int getFrameMaskId()
boolean hasMask()
boolean isNonFrame()
android.graphics.Rect getImageLimit()
android.graphics.Rect calculateOuterRect(android.graphics.Rect inputRect)
android.graphics.Rect calculateInnerRect(android.graphics.Rect inputRect)
RelativeRect calculateOuterRect(RelativeRect inputRect)
RelativeRect calculateInnerRect(RelativeRect inputRect)
float getFrameAspect()
float calculateScale(android.graphics.Rect inputFullRect)
float[] calculateOuterOffsetAndScale()