Graphics

Graphics wrapper for components.

Constructors

this
this()

Creates a new graphics wrapper.

Members

Functions

renderSub
void renderSub(Point position, Size size)

Renders the sub rectangles for the graphics elements.

size
void size(Size newSize)

Sets the size of the graphics.

Properties

backgroundPaint
Paint backgroundPaint [@property getter]

Gets the background paint.

backgroundPaint
Paint backgroundPaint [@property setter]

Sets the background paint.

backgroundPicture
Picture backgroundPicture [@property getter]

Gets the background picture.

backgroundPicture
Picture backgroundPicture [@property setter]

Sets the background picture.

backgroundRect
RectangleShape backgroundRect [@property getter]

Gets the low-level background rectangle.

displayableBackgroundPicture
bool displayableBackgroundPicture [@property getter]

Gets a boolean determining whether the background picture is displayable.

displayableBackgroundRect
bool displayableBackgroundRect [@property getter]

Gets a boolean determining whether the background rectangle is displayable.

font
Font font [@property getter]

Gets the font.

font
Font font [@property setter]

Sets the font.

fontSize
uint fontSize [@property getter]

Gets the font size.

fontSize
uint fontSize [@property setter]

Sets the font size.

foregroundPaint
Paint foregroundPaint [@property getter]

Gets the foreground paint.

foregroundPaint
Paint foregroundPaint [@property setter]

Sets the foreground paint.

position
Point position [@property setter]

Sets the position of the graphics.

Meta