25#ifndef SFML_CONVEXSHAPE_HPP
26#define SFML_CONVEXSHAPE_HPP
31#include <SFML/Graphics/Export.hpp>
32#include <SFML/Graphics/Shape.hpp>
115 std::vector<Vector2f> m_points;
Specialized shape representing a convex polygon.
virtual std::size_t getPointCount() const
Get the number of points of the polygon.
void setPointCount(std::size_t count)
Set the number of points of the polygon.
void setPoint(std::size_t index, const Vector2f &point)
Set the position of a point.
virtual Vector2f getPoint(std::size_t index) const
Get the position of a point.
ConvexShape(std::size_t pointCount=0)
Default constructor.
Base class for textured shapes with outline.