Class TexturedRectangle
- java.lang.Object
 - 
- jadex.extension.envsupport.observer.graphics.drawable.AbstractVisual2D
 - 
- jadex.extension.envsupport.observer.graphics.drawable.Primitive
 - 
- jadex.extension.envsupport.observer.graphics.drawable.TexturedRectangle
 
 
 
 
- 
public class TexturedRectangle extends Primitive
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringtexturePath_Texture path.- 
Fields inherited from class jadex.extension.envsupport.observer.graphics.drawable.Primitive
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, color_, drawcondition, enableDCPos, enableDCRot, enableDCSize, halign, PRIMITIVE_TYPE_ELLIPSE, PRIMITIVE_TYPE_RECTANGLE, PRIMITIVE_TYPE_REGULARPOLYGON, PRIMITIVE_TYPE_TEXT, PRIMITIVE_TYPE_TEXTUREDRECTANGLE, PRIMITIVE_TYPE_TRIANGLE, renderinfos, type, valign 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TexturedRectangle(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String texturePath, IParsedExpression drawcondition)Creates a new TexturedRectangle drawable.TexturedRectangle(java.lang.String texturePath)Creates default TexturedRectangle. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTexturePath()Returns the texture path.voidsetType(int type)Set the primitive type (Disabled).- 
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable.Primitive
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, flushRenderInfo, getColor, getDrawCondition, getHAlign, getRenderInfo, getType, getVAlign, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setDrawCondition, setHAlign, setRenderInfo, setVAlign 
- 
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable.AbstractVisual2D
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TexturedRectangle
public TexturedRectangle(java.lang.String texturePath)
Creates default TexturedRectangle.- Parameters:
 texturePath- resource path of the texture
 
- 
TexturedRectangle
public TexturedRectangle(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.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
 
 - 
 
 -