- __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 circle.
This class inherits all the functions of Transformable (position, rotation, scale, bounds, ...) as well as the functions of Shape (outline, color, texture, ...).
Since the graphics card can't draw perfect circles, we have to fake them with multiple triangles connected to each other. The "points count" property of CircleShape defines how many of these triangles to use, and therefore defines the quality of the circle.