- __anonymousmixin NormalTransformable  
- Undocumented in source. 
- textureRectIntRect textureRect [@property setter] 
- The sub-rectangle of the texture that the shape will display. 
- textureRectIntRect textureRect [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- fillColorColor fillColor [@property setter] 
- The fill color of the shape. 
- fillColorColor fillColor [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- outlineColorColor outlineColor [@property setter] 
- The outline color of the shape. 
- outlineColorColor outlineColor [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- outlineThicknessfloat outlineThickness [@property setter] 
- The thickness of the shape's outline. 
- outlineThicknessfloat outlineThickness [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- pointCountuint pointCount [@property getter] 
- Get the total number of points in the shape. 
- getGlobalBoundsFloatRect getGlobalBounds() 
- Get the global bounding rectangle of the entity. 
- getLocalBoundsFloatRect getLocalBounds() 
- Get the local bounding rectangle of the entity. 
- getPointVector2f getPoint(uint index) 
- Get a point of the shape. 
- getTextureconst(Texture) getTexture() 
- Get the source texture of the shape. 
- setTexturevoid setTexture(const(Texture) texture, bool resetRect) 
- Change the source texture of the shape. 
- drawvoid draw(RenderTarget renderTarget, RenderStates renderStates) 
- Draw the shape to a render target. 
- updatevoid update() 
- Recompute the internal geometry of the shape. 
Specialized shape representing a convex polygon.
This class inherits all the functions of Transformable (position, rotation, scale, bounds, ...) as well as the functions of Shape (outline, color, texture, ...).
It is important to keep in mind that a convex shape must always be... convex, otherwise it may not be drawn correctly. Moreover, the points must be defined in order; using a random order would result in an incorrect shape.