jadex.application.space.envsupport.observer.graphics.drawable
Class TexturedRectangle
java.lang.Object
jadex.application.space.envsupport.observer.graphics.drawable.AbstractVisual2D
jadex.application.space.envsupport.observer.graphics.drawable.Primitive
jadex.application.space.envsupport.observer.graphics.drawable.TexturedRectangle
public class TexturedRectangle
- extends Primitive
| Fields inherited from class jadex.application.space.envsupport.observer.graphics.drawable.Primitive |
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, color_, drawcondition, enableDCPos, enableDCRot, enableDCSize, PRIMITIVE_TYPE_ELLIPSE, PRIMITIVE_TYPE_RECTANGLE, PRIMITIVE_TYPE_REGULARPOLYGON, PRIMITIVE_TYPE_TEXT, PRIMITIVE_TYPE_TEXTUREDRECTANGLE, PRIMITIVE_TYPE_TRIANGLE, renderinfos, type |
| Methods inherited from class jadex.application.space.envsupport.observer.graphics.drawable.Primitive |
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, flushRenderInfo, getColor, getDrawCondition, getRenderInfo, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setDrawCondition, setRenderInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
texturePath_
protected String texturePath_
- Texture path.
TexturedRectangle
public TexturedRectangle(String texturePath)
- Creates default TexturedRectangle.
- Parameters:
texturePath - resource path of the texture
TexturedRectangle
public TexturedRectangle(Object position,
Object rotation,
Object size,
int absFlags,
Object c,
String texturePath,
IParsedExpression drawcondition)
- Creates a new TexturedRectangle drawable.
- Parameters:
position - position or position-bindingxrotation - xrotation or rotation-bindingyrotation - yrotation or rotation-bindingzrotation - zrotation or rotation-bindingsize - size or size-bindingabsFlags - flags for setting position, size and rotation as absolutesc - modulation color or bindingtexturePath - resource path of the texture
setType
public void setType(int type)
- Set the primitive type (Disabled).
- Overrides:
setType in class Primitive
- Parameters:
type - The type to set.
getTexturePath
public String getTexturePath()
- Returns the texture path.
- Returns:
- The texture path.
Copyright © 2010. All Rights Reserved.