20 #ifndef GLREGULARSTAR_H 
   21 #define GLREGULARSTAR_H 
   23 #include <tulip/Size.h> 
   24 #include <tulip/GlComplexPolygon.h> 
   41   GlStar(
const Coord &position, 
const Size &size, 
unsigned int numberOfStarPoints,
 
   42          const Color &fillColor = Color(0, 0, 255), 
const Color &outlineColor = Color(0, 0, 0),
 
   43          bool outlined = 
true, 
const std::string &textureName = 
"", 
float outlineSize = 1.);
 
   59   unsigned int numberOfStarPoints;
 
Class to create a complex polygon (concave polygon or polygon with hole) If you want to create a comp...
 
unsigned int getNumberOfStarPoints()
Get the number of star points.
 
~GlStar() override
Destructor.
 
GlStar(const Coord &position, const Size &size, unsigned int numberOfStarPoints, const Color &fillColor=Color(0, 0, 255), const Color &outlineColor=Color(0, 0, 0), bool outlined=true, const std::string &textureName="", float outlineSize=1.)
Constructor.