Package com.prineside.tdi2.utils
Class AbstractDrawable
java.lang.Object
com.prineside.tdi2.utils.AbstractDrawable
- All Implemented Interfaces:
 Drawable
- Direct Known Subclasses:
 Quad,QuadRegion
Similar to BaseDrawable but has a smaller memory footprint and does not have a name
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatfloatfloatfloatvoidsetBottomHeight(float bottomHeight) voidsetLeftWidth(float leftWidth) voidsetMinHeight(float minHeight) voidsetMinWidth(float minWidth) voidsetRightWidth(float rightWidth) voidsetTopHeight(float topHeight)  
- 
Field Details
- 
DRAWABLE_PARAM_LEFT_WIDTH
public static final int DRAWABLE_PARAM_LEFT_WIDTH- See Also:
 
 - 
DRAWABLE_PARAM_RIGHT_WIDTH
public static final int DRAWABLE_PARAM_RIGHT_WIDTH- See Also:
 
 - 
DRAWABLE_PARAM_TOP_HEIGHT
public static final int DRAWABLE_PARAM_TOP_HEIGHT- See Also:
 
 - 
DRAWABLE_PARAM_BOTTOM_HEIGHT
public static final int DRAWABLE_PARAM_BOTTOM_HEIGHT- See Also:
 
 - 
DRAWABLE_PARAM_MIN_WIDTH
public static final int DRAWABLE_PARAM_MIN_WIDTH- See Also:
 
 - 
DRAWABLE_PARAM_MIN_HEIGHT
public static final int DRAWABLE_PARAM_MIN_HEIGHT- See Also:
 
 
 - 
 - 
Constructor Details
- 
AbstractDrawable
public AbstractDrawable() 
 - 
 - 
Method Details
- 
getLeftWidth
public float getLeftWidth()- Specified by:
 getLeftWidthin interfaceDrawable
 - 
setLeftWidth
public void setLeftWidth(float leftWidth) - Specified by:
 setLeftWidthin interfaceDrawable
 - 
getRightWidth
public float getRightWidth()- Specified by:
 getRightWidthin interfaceDrawable
 - 
setRightWidth
public void setRightWidth(float rightWidth) - Specified by:
 setRightWidthin interfaceDrawable
 - 
getTopHeight
public float getTopHeight()- Specified by:
 getTopHeightin interfaceDrawable
 - 
setTopHeight
public void setTopHeight(float topHeight) - Specified by:
 setTopHeightin interfaceDrawable
 - 
getBottomHeight
public float getBottomHeight()- Specified by:
 getBottomHeightin interfaceDrawable
 - 
setBottomHeight
public void setBottomHeight(float bottomHeight) - Specified by:
 setBottomHeightin interfaceDrawable
 - 
getMinWidth
public float getMinWidth()- Specified by:
 getMinWidthin interfaceDrawable
 - 
setMinWidth
public void setMinWidth(float minWidth) - Specified by:
 setMinWidthin interfaceDrawable
 - 
getMinHeight
public float getMinHeight()- Specified by:
 getMinHeightin interfaceDrawable
 - 
setMinHeight
public void setMinHeight(float minHeight) - Specified by:
 setMinHeightin interfaceDrawable
 
 -