Falco Engine 3.9.0.1 (beta)
FalcoEngine.Text Class Reference
Inheritance diagram for FalcoEngine.Text:
FalcoEngine.UIElement FalcoEngine.Component

Public Types

enum  TextHorizontalAlignment { Left , Center , Right }
 TextHorizontalAlignment enum More...
 
enum  TextVerticalAlignment { Top , Middle , Bottom }
 TextVerticalAlignment enum More...
 
- Public Types inherited from FalcoEngine.UIElement
enum  CanvasHorizontalAlignment { Left , Center , Right }
 CanvasHorizontalAlignment enum More...
 
enum  CanvasVerticalAlignment { Top , Middle , Bottom }
 CanvasVerticalAlignment enum More...
 

Properties

string text [getset]
 Get or set the text More...
 
Font font [getset]
 Get or set the font More...
 
float fontSize [getset]
 Get or set the font size More...
 
TextHorizontalAlignment textHorizontalAlignment [getset]
 Get or set text horizontal alignment More...
 
TextVerticalAlignment textVerticalAlignment [getset]
 Get or set text vertical alignment More...
 
- Properties inherited from FalcoEngine.UIElement
CanvasHorizontalAlignment horizontalAlignment [getset]
 Get or set horizontal alignment of this element More...
 
CanvasVerticalAlignment verticalAlignment [getset]
 Get or set vertical alignment of this element More...
 
Color color [getset]
 Get or set the main color of this element More...
 
Vector2 anchor [getset]
 Get or set the anchor of this element (pivot point) More...
 
Vector2 size [getset]
 Get or set the size of this element (width and height) More...
 
bool hovered [get]
 Returns if this element is hovered by mouse cursor More...
 
Canvas canvas [get]
 Returns a canvas of this element More...
 
Vector3 position [getset]
 
Rect rect [get]
 
object userData [getset]
 Get or set the user data More...
 
- Properties inherited from FalcoEngine.Component
bool enabled [getset]
 Enable or disable this component More...
 
GameObject gameObject [get]
 Get game object at which this component is attached More...
 
bool isUiComponent [get]
 Returns if this component is derived from UIElement (or this is a canvas) or not More...
 

Additional Inherited Members

- Public Member Functions inherited from FalcoEngine.UIElement
delegate void MouseButtonEvent (UIElement sender, int button, Vector2 cursorPosition)
 
delegate void MouseMoveEvent (UIElement sender, Vector2 cursorPosition)
 
- Protected Member Functions inherited from FalcoEngine.Component
 Component ()
 
- Events inherited from FalcoEngine.UIElement
MouseButtonEvent onMouseDown
 
MouseButtonEvent onMouseUp
 
MouseMoveEvent onMouseMove
 
MouseMoveEvent onMouseEnter
 
MouseMoveEvent onMouseExit
 

Detailed Description

Definition at line 7 of file Text.cs.

Member Enumeration Documentation

◆ TextHorizontalAlignment

TextHorizontalAlignment enum

Enumerator
Left 
Center 
Right 

Definition at line 17 of file Text.cs.

◆ TextVerticalAlignment

TextVerticalAlignment enum

Enumerator
Top 
Middle 
Bottom 

Definition at line 22 of file Text.cs.

Property Documentation

◆ font

Font FalcoEngine.Text.font
getset

Get or set the font

Definition at line 32 of file Text.cs.

◆ fontSize

float FalcoEngine.Text.fontSize
getset

Get or set the font size

Definition at line 37 of file Text.cs.

◆ text

string FalcoEngine.Text.text
getset

Get or set the text

Definition at line 27 of file Text.cs.

◆ textHorizontalAlignment

TextHorizontalAlignment FalcoEngine.Text.textHorizontalAlignment
getset

Get or set text horizontal alignment

Definition at line 42 of file Text.cs.

◆ textVerticalAlignment

TextVerticalAlignment FalcoEngine.Text.textVerticalAlignment
getset

Get or set text vertical alignment

Definition at line 57 of file Text.cs.


The documentation for this class was generated from the following file: