Class Element
Contains all the display tweakables for a control
public class Element : ICloneable
- Inheritance
-
Element
- Implements
- Inherited Members
- Extension Methods
Fields
FontColor
public BlendColor FontColor
Field Value
FontIndex
public uint FontIndex
Field Value
TextureColor
public BlendColor TextureColor
Field Value
TextureIndex
public uint TextureIndex
Field Value
textFormat
public DrawTextFormat textFormat
Field Value
- DrawTextFormat
textureRect
public Rectangle textureRect
Field Value
Methods
Clone()
Clone an object
public Element Clone()
Returns
Refresh()
Refresh this element
public void Refresh()
SetFont(uint, Color4, DrawTextFormat)
Set the font
public void SetFont(uint font, Color4 defaultFontColor, DrawTextFormat format)
Parameters
font
uintdefaultFontColor
Color4format
DrawTextFormat
SetTexture(uint, Rectangle)
Set the texture
public void SetTexture(uint tex, Rectangle texRect)
Parameters
SetTexture(uint, Rectangle, Color4)
Set the texture
public void SetTexture(uint tex, Rectangle texRect, Color4 defaultTextureColor)