11#include "sml/math/rectangle.h"
19 Rectangle(Sml::Color fillColor = Sml::COLOR_TRANSPARENT);
22 int32_t getWidth()
const;
23 void setWidth(int32_t width);
25 int32_t getHeight()
const;
26 void setHeight(int32_t height);
28 virtual void render(
const Sml::Rectangle<int32_t>& targetRegion)
override;
30 virtual int32_t computePrefWidth(int32_t height = -1)
const override final;
31 virtual int32_t computePrefHeight(int32_t width = -1)
const override final;