ScreenLabelTextStyle

Description

sealed class Tinman.Engine.Drawing.ScreenLabelTextStyle

Derived from

ScreenLabelStyle

Defines visual style properties for IScreenLabelText instances.

Public / Constructors

ScreenLabelTextStyle


public constructor ScreenLabelTextStyle → ()

Creates a new instance of ScreenLabelTextStyle.

Public / Attributes

OutlineColor


public attribute OutlineColor → (get,set)

value : int64

The text outline color.

The text outline color.

The default value is 0.

See also

Colors

TextAnchor


public attribute TextAnchor → (get,set)

value : Anchor

The text anchor resp. justification to use.

The text anchor to use for aligning the measured text box and the computed text box as well as the text justification to use for each line of text.

The default value is Anchor.Center.

TextColor


public attribute TextColor → (get,set)

value : int64

The text color.

The text color.

The default value is Colors.White.

See also

Colors

TextFont


public attribute TextFont → (get,set)

value : IResourceHandle

[not-null]
The text font.

The text font.

The default value is PixelFont.HandleSmall.