TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class Style in Tinman.AddOns.GUI.Styles

Defines some common component styles and variants.

static class Style  

Public / Constants

BackgroundColor

The background color (see Colors) of the component.

public static readonly field BackgroundColor
type StyleProperty<int64>

See also:

ColorScheme

Border

The border style of the component.

public static readonly field Border
type StyleProperty<BorderStyle>

ForegroundColor

The foreground color (see Colors) of the component.

public static readonly field ForegroundColor
type StyleProperty<int64>

See also:

ColorScheme

HighlightColor

The highlight color (see Colors) of the component.

public static readonly field HighlightColor
type StyleProperty<int64>

See also:

ColorScheme

Image

The icon image to show.

public static readonly field Image
type StyleProperty<IResourceHandle>

See also:

Bitmap

ImageAlign

Alignment of icon image.

public static readonly field ImageAlign
type StyleProperty<Anchor>

ImageShadow

Shadow style of icon image.

public static readonly field ImageShadow
type StyleProperty<ShadowStyle>

ImageSize

Size of icon image.

public static readonly field ImageSize
type StyleProperty<Vec2I>

Shadow

Shadow style of panel.

public static readonly field Shadow
type StyleProperty<ShadowStyle>

TextAlign

Alignment of text.

public static readonly field TextAlign
type StyleProperty<Anchor>

TextColor

The text color (see Colors) of the component.

public static readonly field TextColor
type StyleProperty<int64>

See also:

ColorScheme

TextFont

The text font to use for drawing the textual content of components.

public static readonly field TextFont
type StyleProperty<IResourceHandle>

See also:

PixelFont

TextFontHint

The text font to use for drawing small textual hints (e.g. keyboard shortcuts).

public static readonly field TextFontHint
type StyleProperty<IResourceHandle>

See also:

PixelFont

VariantInner

A Panel style for inner panels.

public constant VariantInner = "inner"
type string