poison.ui.graphics
Source
Module for graphics.
Authors:
Jacob Jensen
License:
https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE
Imports
dsfml.graphics : RectangleShape
dsfml.system : Vector2f
poison.ui.paint
poison.core : Size, Point
poison.ui.picture
poison.ui.fonts
dsfml.graphics : IntRect
std.math : fmax
public:
public class Graphics
public:
Graphics wrapper for components.
public this();
Creates a new graphics wrapper.
public @property RectangleShape backgroundRect();
Gets the low-level background rectangle.
public @property Font font();
Gets the font.
public @property void font(Font newFont);
Sets the font.
public @property uint fontSize();
Gets the font size.
public @property void fontSize(uint newFontSize);
Sets the font size.
Generated by venom - Poison Engine's Documentation Generator
Module for graphics.
Authors:
Jacob JensenLicense:
https://github.com/PoisonEngine/poison-ui/blob/master/LICENSEImports
dsfml.graphics : RectangleShapedsfml.system : Vector2f
poison.ui.paint
poison.core : Size, Point
poison.ui.picture
poison.ui.fonts
dsfml.graphics : IntRect
std.math : fmax
public class Graphics
public:
Graphics wrapper for components.
public this();
Creates a new graphics wrapper.
public @property RectangleShape backgroundRect();
Gets the low-level background rectangle.
public @property Font font();
Gets the font.
public @property void font(Font newFont);
Sets the font.
public @property uint fontSize();
Gets the font size.
public @property void fontSize(uint newFontSize);
Sets the font size.