Method | Description | |
---|---|---|
GetLeft ( Primitive index ) : Primitive |
Gets the left co-ordinate of the specified shape.
|
|
GetOpacity ( Primitive index ) : Primitive |
Gets the opacity of a shape.
|
|
GetTop ( Primitive index ) : Primitive |
Gets the top co-ordinate of the specified shape.
|
|
HideShape ( Primitive index ) : void |
Hides an already added shape.
|
|
Move ( Primitive index, Primitive x, Primitive y ) : void |
Moves the shape with the specified name to a new position.
|
|
Rotate ( Primitive index, Primitive angle ) : void |
Rotates the shape with the specified name to the specified angle.
|
|
SetOpacity ( Primitive index, Primitive level ) : void |
Sets how opaque a shape should render.
|
|
ShapeIndex ( Primitive shapeName ) : Primitive |
Register a shape for use with this object. This command is potentially slow, so should be called before time critical visual updates occur. i.e. Create and register all shapes before motion is simulated.
|
|
ShowShape ( Primitive index ) : void |
Shows a previously hidden shape.
|
|
Update ( ) : void |
Update all of the properties of shapes set by this object that have been modifed since the last update. The shapes are not visually updated until this method is called.
|
|
Zoom ( Primitive index, Primitive scaleX, Primitive scaleY ) : void |
Scales the shape using the specified zoom levels.
|
Method | Description | |
---|---|---|
Update_Delegate ( ) : void |
public static GetLeft ( Primitive index ) : Primitive | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
return | Primitive |
public static GetOpacity ( Primitive index ) : Primitive | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
return | Primitive |
public static GetTop ( Primitive index ) : Primitive | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
return | Primitive |
public static HideShape ( Primitive index ) : void | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
return | void |
public static Move ( Primitive index, Primitive x, Primitive y ) : void | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape to move. /// |
x | Primitive | /// The x co-ordinate of the new position. /// |
y | Primitive | /// The y co-ordinate of the new position. /// |
return | void |
public static Rotate ( Primitive index, Primitive angle ) : void | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
angle | Primitive | /// The angle to rotate the shape. /// |
return | void |
public static SetOpacity ( Primitive index, Primitive level ) : void | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
level | Primitive | /// The opacity level ranging from 0 to 100. 0 is completely transparent and 100 is completely opaque. /// |
return | void |
public static ShapeIndex ( Primitive shapeName ) : Primitive | ||
shapeName | Primitive | The name of the created shape. |
return | Primitive |
public static ShowShape ( Primitive index ) : void | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
return | void |
public static Zoom ( Primitive index, Primitive scaleX, Primitive scaleY ) : void | ||
index | Primitive | /// The index (returned by ShapeIndex) of the shape. /// |
scaleX | Primitive | /// The x-axis zoom level. /// |
scaleY | Primitive | /// The y-axis zoom level. /// |
return | void |