wiki.sine.space | sinespace

Scripting/SUIText

From wiki.sine.space
Revision as of 04:22, 9 December 2020 by Voidtech (Talk | contribs) (Created SUIText and added all available properties)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The SUIText class provides tools to work with the SUIText component, which is a component responsible for displaying text

Properties

AlignByGeometry

bool AlignByGeometry {get;set;}

Use the range of glyph geometry to perform horizontal alignment.


Color

SColor Color {get;set;}

Base color of the Graphic.



Enabled

bool Enabled {get;set;}

Enabled Behaviours are Updated, disabled Behaviours are not.




FlexibleHeight

float FlexibleHeight {get;}

Called by the layout system.



FlexibleWidth

float FlexibleWidth {get;}

Called by the layout system.



FontSize

int FontSize {get;set;}

The size that the Font should render at.



LayoutPriority

int LayoutPriority {get;}

Called by the layout system.



LineSpacing

float LineSpacing {get;set;}

Line spacing, specified as a factor of font line height. A value of 1 will produce normal line spacing.



MinHeight

float MinHeight {get;}

Called by the layout system.



MinWidth

float MinWidth {get;}

Called by the layout system.



PixelsPerUnit

float PixelsPerUnit {get;}

Provides information about how fonts are scale to the screen.


PreferredHeight

float PreferredHeight {get;}

Called by the layout system.



PreferredWidth

float PreferredWidth {get;}

Called by the layout system.



ResizeTextForBestFit

bool ResizeTextForBestFit {get;set;}

Should the text be allowed to auto resized.




ResizeTextMaxSize

int ResizeTextMaxSize {get;set;}

No documentation


ResizeTextMinSize

int ResizeTextMinSize {get;set;}

The minimum size the text is allowed to be.



SupportRichText

bool SupportRichText {get;set;}

Whether this Text will support rich text.




Text

strring Text {get;set;}

The string value this Text displays.