I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:Canvas (U2)
Object >> Canvas |
Contents
- 1 Properties
- 1.1 bCenter
- 1.2 bNoSmooth
- 1.3 ClipX
- 1.4 ClipY
- 1.5 CurX
- 1.6 CurY
- 1.7 CurYL
- 1.8 DebugFont
- 1.9 DrawColor
- 1.10 Font
- 1.11 MedFont
- 1.12 MedFontName
- 1.13 OrgX
- 1.14 OrgY
- 1.15 pCanvasUtil
- 1.16 SizeX
- 1.17 SizeY
- 1.18 SmallFont
- 1.19 SmallFontName
- 1.20 SpaceX
- 1.21 SpaceY
- 1.22 Style
- 1.23 TinyFont
- 1.24 TinyFontName
- 1.25 Viewport
- 1.26 Z
- 2 Functions
- Package:
- Engine
- This class in other games:
- RTNP, U1, UT, U2XMP, UE2Runtime, UT2003, UT2004, UDK, UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Canvas: A drawing canvas. This is a built-in Unreal class and it shouldn't be modified.
Notes. To determine size of a drawable object, set Style to STY_None, remember CurX, draw the thing, then inspect CurX and CurYL.
Properties[edit]
bCenter[edit]
Type: bool
Whether to center the text.
bNoSmooth[edit]
Type: bool
Don't bilinear filter.
ClipX[edit]
Type: float
ClipY[edit]
Type: float
Bottom right clipping region.
CurX[edit]
Type: float
CurY[edit]
Type: float
Current position for drawing.
CurYL[edit]
Type: float
Largest Y size since DrawText.
DebugFont[edit]
Type: Font
NEW (mdf) console debugging font
Default value: Font'Engine.DefaultFont'
DrawColor[edit]
Type: Object.Color
Color for drawing.
Default value:
Member | Value |
---|---|
A | 255 |
B | 127 |
G | 127 |
R | 127 |
Font[edit]
Type: Font
Font for DrawText.
Default value: Font'Engine.DefaultFont'
MedFont[edit]
Type: Font
Default value: Font'Engine.DefaultFont'
MedFontName[edit]
Type: string
OrgX[edit]
Type: float
OrgY[edit]
Type: float
Origin for drawing.
pCanvasUtil[edit]
Type: int
Modifiers: const
SizeX[edit]
Type: int
Modifiers: const
SizeY[edit]
Type: int
Modifiers: const
SmallFont[edit]
Type: Font
Default value: Font'Engine.DefaultFont'
SmallFontName[edit]
Type: string
SpaceX[edit]
Type: float
SpaceY[edit]
Type: float
Spacing for after Draw*.
Style[edit]
Type: byte
Drawing style STY_None means don't draw.
Default value: 1
TinyFont[edit]
Type: Font
Default value: Font'Engine.DefaultFont'
TinyFontName[edit]
Type: string
Viewport[edit]
Type: Viewport
Modifiers: const
Viewport that owns the canvas.
Z[edit]
Type: float
Z location. 1=no screenflash, 2=yes screenflash.
Default value: 1.0