I'm a doctor, not a mechanic
UE1:Canvas (RTNP)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Canvas |
| This is an auto-generated page and may need human attention. Please remove this 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.
[edit] Properties
[edit] bCenter
Type: bool
Whether to center the text.
[edit] BigFont
Type: Font
Big system font.
Default value: Font'Engine.BigFont'
[edit] bNoSmooth
Type: bool
Don't bilinear filter.
[edit] ClipX
Type: float
[edit] ClipY
Type: float
Bottom right clipping region.
[edit] CurX
Type: float
[edit] CurY
Type: float
Current position for drawing.
[edit] CurYL
Type: float
Largest Y size since DrawText.
[edit] DrawColor
Type: Object.Color
Color for drawing.
Default value:
| Member | Value |
|---|---|
| B | 127 |
| G | 127 |
| R | 127 |
[edit] Font
Type: Font
Font for DrawText.
[edit] FramePtr
Type: int
Modifiers: const
Scene frame pointer.
[edit] LargeFont
Type: Font
Default value: Font'Engine.LargeFont'
[edit] MedFont
Type: Font
Medium system font.
Default value: Font'Engine.MedFont'
[edit] OrgX
Type: float
[edit] OrgY
Type: float
Origin for drawing.
[edit] RenderPtr
Type: int
Modifiers: const
[edit] SizeX
Type: int
Modifiers: const
[edit] SizeY
Type: int
Modifiers: const
[edit] SmallFont
Type: Font
Small system font.
Default value: Font'Engine.SmallFont'
[edit] SpaceX
Type: float
[edit] SpaceY
Type: float
Spacing for after Draw*.
[edit] Style
Type: byte
Drawing style STY_None means don't draw.
Default value: 1
[edit] Viewport
Type: Viewport
Modifiers: const
Viewport that owns the canvas.
[edit] Z
Type: float
Z location. 1=no screenflash, 2=yes screenflash.
Default value: 1.0
