25#ifndef SFML_CIRCLESHAPE_HPP
26#define SFML_CIRCLESHAPE_HPP
31#include <SFML/Graphics/Export.hpp>
32#include <SFML/Graphics/Shape.hpp>
52 explicit CircleShape(
float radius = 0, std::size_t pointCount = 30);
115 std::size_t m_pointCount;
Specialized shape representing a circle.
virtual std::size_t getPointCount() const
Get the number of points of the circle.
void setPointCount(std::size_t count)
Set the number of points of the circle.
void setRadius(float radius)
Set the radius of the circle.
virtual Vector2f getPoint(std::size_t index) const
Get a point of the circle.
float getRadius() const
Get the radius of the circle.
CircleShape(float radius=0, std::size_t pointCount=30)
Default constructor.
Base class for textured shapes with outline.