Style Members
The Style type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Style()()()() |
Initializes a new instance of the [Style] class.
|
|
Style(Style) |
Initializes a new instance of the [Style] class.
|
Properties
Name | Description | |
---|---|---|
BackColor |
background color (argb)
|
|
Font |
name of the font to use for text
|
|
Grid |
describes the 9sclice texture regions expressed as margin
|
|
Opacity |
opacity (0-1)
|
|
Tag |
user data
|
|
TextAlign |
text alignment
|
|
TextColor |
color for any text to be drawn (argb)
|
|
TextPadding |
text padding (distance to control borders)
|
|
Texture |
name of the texture to draw
|
|
TextureRect |
source rectangle of the texture expressed in pixels
|
|
Tiling |
enables/disables the 9sclice grid
|
|
Tint |
color to tint the texture (argb)
|