CTor
CTor
CTor for circles
Defines how the Shape should be filled.
Stores a Vertex
Stores a Vertex
Stores multiple Vertices
Clear all Vertices but preserve the storage and capacity
Returns the clip Rect
Returns the current texture or null
Returns the Rect which contains all vertices
Returns all Vertices
Set the color of <b>all</b> Vertices
Set or reset a Texture
Set (or reset) a Texture and set the corresponding Rect
Set the corresponding Texture Rect
Optional anti-alias for lines thicker than 1. Default is false.
Fill option. Default is Fill.Full
The geometric type of the shape
Option for the line width. Default is 1
Returns the current matrix. If any transformations was made, the matrix is updated before
Sets the position
Sets the position
Move the position by offset (x, y)
Move the position by offset (x, y)
Returns the current position
Returns the x coordinate <b>by value</b>
Sets a new x coordinate
Returns the y coordinate <b>by value</b>
Sets a new y coordinate
Sets the center position
Sets the center of the rotation
Returns the current rotation center
Sets the origin. The origin is a offset which is added to the position and serves as center position for scaling and rotation.
Sets the origin. The origin is a offset which is added to the position and serves as center position for scaling and rotation.
Returns the current origin
Sets the scaling (for both, x and y)
Sets the scaling (for both, x and y)
Inc-/Decrease the scaling
Inc-/Decrease the scaling
Returns the current scaling
Set the rotation angle. If not in range of 0 .. 360 it will be set to 0.
Inc-/Decrease the rotation. If the rotation is <b>after</b> that not in range of 0 .. 360 it will be set to 0.
Returns the current rotation
Draw method which is called from the Window's draw method
Shape defines a drawable geometric shape.