ScreenLabelStyle

Description

class Tinman.Engine.Drawing.ScreenLabelStyle

Derived from

Versioned abstract

Extended by

ScreenLabelFrameStyle sealed
ScreenLabelIconStyle sealed
ScreenLabelTextStyle sealed

Defines visual style properties for IScreenLabel instances.

Public / Attributes

Minimum​Size


public attribute MinimumSize → (get,set)

value : Vec2I

The minimum size to return from IScreenLabel.PrepareScreenLabel.

The minimum size of the screen label bounds.

The minimum size is applied separately for each axis. The default value is Vec2I.Zero.

Occluded​Color


public attribute OccludedColor → (get,set)

value : int64

The modulation color to use.

The modulation color to apply when the label is (partially) occluded.

The default value is Colors.Opaque30.

See also

Colors

Protected / Constructors

Screen​Label​Style


protected constructor ScreenLabelStyle → ()

Creates a new instance of ScreenLabelStyle.