21 #ifndef GF_LIGHT_SHAPE_H 22 #define GF_LIGHT_SHAPE_H 25 #include "GraphicsApi.h" 28 #include "Transformable.h" 30 #include "VertexArray.h" 33 #ifndef DOXYGEN_SHOULD_SKIP_THIS 64 std::size_t getPointCount()
const;
66 Vector2f getPoint(std::size_t index)
const;
68 Vector2f getPrevPoint(std::size_t index)
const;
70 Vector2f getNextPoint(std::size_t index)
const;
72 void setColor(
const Color4f& color);
88 RectF getLocalBounds()
const;
90 void setAnchor(
Anchor anchor);
95 void updateGeometry();
102 bool m_active =
true;
110 #ifndef DOXYGEN_SHOULD_SKIP_THIS 115 #endif // GF_LIGHT_SHAPE_H
A set of primitives.
Definition: VertexArray.h:65
Light shape.
Definition: LightShape.h:54
Base class for all render targets (window, texture, ...)
Definition: RenderTarget.h:102
Define the states used for drawing to a RenderTarget.
Definition: RenderStates.h:82
bool isActive() const
Definition: LightShape.h:84
Utility class for manipulating circles.
Definition: Circ.h:61
The namespace for gf classes.
Definition: Action.h:35
A 4D vector.
Definition: Vector.h:852
A convex polygon.
Definition: Polygon.h:47
void setActive(bool active=true)
Definition: LightShape.h:80
Anchor
An anchor of a box.
Definition: Anchor.h:38
LightShapeVisibility
Light shape visibility.
Definition: LightShape.h:43
Definition: LightShape.h:45
General purpose math vector.
Definition: Vector.h:61
Definition: LightShape.h:44