Poison-ui

A cross-platform desktop/mobile UI engine written in D using dsfml

View project on GitHub

Dub version

poison.ui.graphics

Source

Module for graphics.

Authors:

  Jacob Jensen

License:

  https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE

public:




public this();


Creates a new graphics wrapper.


public @property Paint backgroundPaint();


Gets the background paint.


public @property void backgroundPaint(Paint newPaint);


Sets the background paint.


public @property Paint foregroundPaint();


Gets the foreground paint.


public @property void foregroundPaint(Paint newPaint);


Sets the foreground paint.


public @property RectangleShape backgroundRect();


Gets the low-level background rectangle.


public @property Picture backgroundPicture();


Gets the background picture.


public @property void backgroundPicture(Picture newBackgroundPicture);


Sets the background picture.


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