C# Class OpenRA.Mods.Common.Widgets.LabelWidget

Inheritance: OpenRA.Widgets.Widget
Show file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
Align TextAlign
Contrast bool
ContrastColorDark Color
ContrastColorLight Color
Font string
GetColor Func
GetContrastColorDark Func
GetContrastColorLight Func
GetText Func
Shadow bool
TextColor Color
VAlign TextVAlign
WordWrap bool

Public Methods

Method Description
Clone ( ) : OpenRA.Widgets.Widget
Draw ( ) : void
LabelWidget ( ) : System

Protected Methods

Method Description
LabelWidget ( LabelWidget other ) : System

Method Details

Clone() public method

public Clone ( ) : OpenRA.Widgets.Widget
return OpenRA.Widgets.Widget

Draw() public method

public Draw ( ) : void
return void

LabelWidget() public method

public LabelWidget ( ) : System
return System

LabelWidget() protected method

protected LabelWidget ( LabelWidget other ) : System
other LabelWidget
return System

Property Details

Align public property

public TextAlign Align
return TextAlign

Contrast public property

public bool Contrast
return bool

ContrastColorDark public property

public Color ContrastColorDark
return Color

ContrastColorLight public property

public Color ContrastColorLight
return Color

Font public property

public string Font
return string

GetColor public property

public Func GetColor
return Func

GetContrastColorDark public property

public Func GetContrastColorDark
return Func

GetContrastColorLight public property

public Func GetContrastColorLight
return Func

GetText public property

public Func GetText
return Func

Shadow public property

public bool Shadow
return bool

TextColor public property

public Color TextColor
return Color

VAlign public property

public TextVAlign VAlign
return TextVAlign

WordWrap public property

public bool WordWrap
return bool