#define SFML_GRAPHICS_API
Definition Export.hpp:42
Vector2f getSize() const
Get the size of the rectangle.
Vector2f getPoint(std::size_t index) const override
Get a point of the rectangle.
void setSize(Vector2f size)
Set the size of the rectangle.
Vector2f getGeometricCenter() const override
Get the geometric center of the rectangle.
RectangleShape(Vector2f size={})
Default constructor.
std::size_t getPointCount() const override
Get the number of points defining the shape.
Base class for textured shapes with outline.
Definition Shape.hpp:55
Definition BlendMode.hpp:34
Vector2< float > Vector2f
Definition Vector2.hpp:226