5#ifndef DUALIE_SHAPE_HPP
6#define DUALIE_SHAPE_HPP
9#include <Dualie/Graphics/Color.hpp>
10#include <Dualie/Graphics/Transformable.hpp>
11#include <Dualie/Graphics/Drawable.hpp>
12#include <Dualie/System/Rect.hpp>
24 float m_outlineThickness;
A class used to describe a RGBA color.
Definition Color.hpp:19
The base class for any object that can be drawn to the screen.
Definition Drawable.hpp:15
The base class for any shape.
Definition Shape.hpp:19
void setOutlineColor(const dl::Color &color)
Sets the outline color of the shape.
Definition Shape.cpp:31
const float & getOutlineThickness()
Definition Shape.cpp:57
void setOrigin(const dl::Vector2f &origin)
Sets the origin of the shape. The default origin is (0,0) and is the top left pixel of the shape boun...
Definition Shape.cpp:14
dl::FloatRect getLocalBounds()
Definition Shape.cpp:23
void setOutlineThickness(float thickness)
Sets the outline thickness of the shape.
Definition Shape.cpp:36
void setFillColor(const dl::Color &color)
Sets the fill color of the shape.
Definition Shape.cpp:10
const dl::Vector2f & getSize()
Definition Shape.cpp:42
const Color & getOutlineColor() const
Definition Shape.cpp:51
dl::FloatRect getGlobalBounds()
Definition Shape.cpp:27
const dl::Vector2f & getOrigin()
Definition Shape.cpp:64
const Color & getFillColor() const
Definition Shape.cpp:46