55 explicit CircleShape(
float radius = 0, std::size_t pointCount = 30);
129 std::size_t m_pointCount;
#define SFML_GRAPHICS_API
Definition Export.hpp:42
void setPointCount(std::size_t count)
Set the number of points of the circle.
void setRadius(float radius)
Set the radius of the circle.
Vector2f getGeometricCenter() const override
Get the geometric center of the circle.
float getRadius() const
Get the radius of the circle.
CircleShape(float radius=0, std::size_t pointCount=30)
Default constructor.
Vector2f getPoint(std::size_t index) const override
Get a point of the circle.
std::size_t getPointCount() const override
Get the number of points of the circle.
Base class for textured shapes with outline.
Definition Shape.hpp:55
Definition BlendMode.hpp:34
Vector2< float > Vector2f
Definition Vector2.hpp:226