Creates a circle from a radius and circumference point count.
optionsOptionalCopies circle geometry, appearance and transforms, retaining the texture reference.
sourceProtectedchangeoperationxyOptionalzOptionalProtecteddrawSubclasses draw synchronously and may compose objects via target.draw(); states is a copy for this call.
thistargetstatesReturns axis-aligned bounds after applying position, rotation and scale.
Return the read-only cached parent-to-local inverse transform, or the identity matrix when not invertible.
Returns the outline miter limit.
Returns the outline thickness.
Returns a copy of the local coordinates of a zero-based circumference point.
indexReturns the circumference point count.
Returns the local radius.
Returns the current texture reference, or null if none is set.
Returns a view typed as read-only of the current texture pixel region.
Return the read-only cached local-to-parent transform. Later reads may update the same object.
Add offset to the current position.
thisoffsetProtectedreadAdd angle to the current rotation.
thisangleMultiply the current X/Y scale factors by the components of factors.
thisfactorsSets the fill color, multiplied by the texture color when drawing.
thiscolorSets the maximum ratio of outline miter extension to thickness; must be at least 1.
thislimitSet the local origin around which rotation and scaling take place.
thisoriginCopies the outline color.
thiscolorSets outline thickness in local coordinates; positive values extend outward and negative values inward.
thisthicknessSets the point count approximating the circumference and updates geometry.
thiscountSet the object's origin in parent coordinates, copying position.
thispositionSets the local radius and updates geometry.
thisradiusSet the rotation; positive angles are clockwise in screen coordinates.
thisangleSet X/Y scale factors; (1, 1) is original size and negatives flip axes.
thisfactorsSets and retains a texture reference; null disables texturing, and resetRect true covers the entire texture.
thistextureresetRectCopies the texture pixel region to use; negative sizes can flip the texture.
thisrectangleProtectedupdateRebuilds native geometry from the subclass's getPointCount/getPoint; call after changing custom points.
thisReadonly[graphicsReadonly[mutableReadonly[shapeReadonly[transformable
sf::CircleShape geometry with Shape appearance and transformations.