Table of Contents

Class Element

Namespace
OmegaGUI.Render
Assembly
OmegaGUI.dll

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

BlendColor

FontIndex

public uint FontIndex

Field Value

uint

TextureColor

public BlendColor TextureColor

Field Value

BlendColor

TextureIndex

public uint TextureIndex

Field Value

uint

textFormat

public DrawTextFormat textFormat

Field Value

DrawTextFormat

textureRect

public Rectangle textureRect

Field Value

Rectangle

Methods

Clone()

Clone an object

public Element Clone()

Returns

Element

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 uint
defaultFontColor Color4
format DrawTextFormat

SetTexture(uint, Rectangle)

Set the texture

public void SetTexture(uint tex, Rectangle texRect)

Parameters

tex uint
texRect Rectangle

SetTexture(uint, Rectangle, Color4)

Set the texture

public void SetTexture(uint tex, Rectangle texRect, Color4 defaultTextureColor)

Parameters

tex uint
texRect Rectangle
defaultTextureColor Color4