CLASSES
TagsA - Z

Text2D

Description

class Text2D extends RenderablePrim2D

Members

static TEXT2D_MAINPARTID : number

static TEXT2D_CATEGORY_SDF : string

static fontProperty : Prim2DPropInfo

static defaultFontColorProperty : Prim2DPropInfo

static textProperty : Prim2DPropInfo

static sizeProperty : Prim2DPropInfo

static fontSuperSampleProperty : Prim2DPropInfo

static fontSignedDistanceFieldProperty : Prim2DPropInfo

fontName : string

defaultFontColor : Color4

text : string

size : Size

fontSuperSample : boolean

fontSignedDistanceField : boolean

isSizeAuto : boolean

actualSize : Size

Get the actual size of the Text2D primitive

textSize : Size

Get the area that bounds the text associated to the primitive