The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:DrawOpBase (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> DrawOpBase
Package: 
XInterface
Direct subclasses:
DrawOpImage, DrawOpText
This class in other games:
UT2003

null

Properties[edit]

DrawColor[edit]

Type: Object.Color

Color to set Canvas to.

Default value:

Member Value
A 255
B 255
G 255
R 255

Height[edit]

Type: float


Justification[edit]

Type: byte

0 - Left/Top 1 - Centered 2 - Right/Bottom

Lft[edit]

Type: float


RenderStyle[edit]

Type: byte

Render Style to use for this particular Image

Default value: 1

Top[edit]

Type: float


Width[edit]

Type: float

Location/size is always range 0.0 to 1.0

Instance functions[edit]

Draw[edit]

function Draw (Canvas Canvas)


GetFont[edit]

simulated function Font GetFont (string FontClassName, float ResX)


GetGUIFont[edit]

simulated function Font GetGUIFont (string FontClassName, float ResX)


SetPos[edit]

function SetPos (float T, float L)


SetSize[edit]

function SetSize (float H, float W)