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