25 #ifndef CPP3DS_RECTANGLESHAPE_HPP
26 #define CPP3DS_RECTANGLESHAPE_HPP
31 #include <cpp3ds/Graphics/Shape.hpp>
void setSize(const Vector2f &size)
Set the size of the rectangle.
virtual Vector2f getPoint(unsigned int index) const
Get a point of the rectangle.
RectangleShape(const Vector2f &size=Vector2f(0, 0))
Default constructor.
virtual unsigned int getPointCount() const
Get the number of points defining the shape.
Base class for textured shapes with outline.
const Vector2f & getSize() const
Get the size of the rectangle.
Specialized shape representing a rectangle.