Style Members

The Style type exposes the following members.

Constructors


  Name Description
Public method Style()()()()
Initializes a new instance of the [Style] class.
Public method Style(Style)
Initializes a new instance of the [Style] class.

Methods


  Name Description
Public method Copy
Copies this instance.
Public method Paste
Pastes the specified style.

Properties


  Name Description
Public property BackColor
background color (argb)
Public property Font
name of the font to use for text
Public property Grid
describes the 9sclice texture regions expressed as margin
Public property Opacity
opacity (0-1)
Public property Tag
user data
Public property TextAlign
text alignment
Public property TextColor
color for any text to be drawn (argb)
Public property TextPadding
text padding (distance to control borders)
Public property Texture
name of the texture to draw
Public property TextureRect
source rectangle of the texture expressed in pixels
Public property Tiling
enables/disables the 9sclice grid
Public property Tint
color to tint the texture (argb)