Class RegularPolygon
- java.lang.Object
- 
- jadex.extension.envsupport.observer.graphics.drawable.AbstractVisual2D
- 
- jadex.extension.envsupport.observer.graphics.drawable.Primitive
- 
- jadex.extension.envsupport.observer.graphics.drawable.RegularPolygon
 
 
 
- 
 public class RegularPolygon extends Primitive 
- 
- 
Field Summary- 
Fields inherited from class jadex.extension.envsupport.observer.graphics.drawable.PrimitiveABSOLUTE_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 SummaryConstructors Constructor Description RegularPolygon()Generates a size 1.0 triangle.RegularPolygon(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, int vertices, IParsedExpression drawcondition)Generates a new RegularPolygon.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetVertexCount()Returns the vertex count.voidsetType(int type)Set the primitive type (Disabled).- 
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable.PrimitiveenableAbsolutePosition, 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.AbstractVisual2DbindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
 
- 
 
- 
- 
- 
Constructor Detail- 
RegularPolygonpublic RegularPolygon() Generates a size 1.0 triangle.
 - 
RegularPolygonpublic RegularPolygon(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, int vertices, IParsedExpression drawcondition)Generates a new RegularPolygon.- Parameters:
- position- position or position-binding
- xrotation- xrotation or rotation-binding
- yrotation- yrotation or rotation-binding
- zrotation- zrotation or rotation-binding
- size- size or size-binding
- absFlags- flags for setting position, size and rotation as absolutes
- c- the drawable's color or binding
- vertices- number of vertices (corners)
 
 
- 
 
-