This struct is to configure the properties of Text and TextProgram instances.

Variables

@:value(null)fgColor:Null<Color> = null

foreground color

@:value(null)bgColor:Null<Color> = null

background color

@:value(null)letterWidth:Null<Int> = null

width of each letter

@:value(null)letterHeight:Null<Int> = null

height of each letter

@:value(null)letterSpace:Null<Int> = null

horizontal space between letters in pixel

@:value(null)lineSpace:Null<Int> = null

space between lines in pixel

@:value(null)zIndex:Null<Int> = null

z-depth index

Methods

copyNotNullValuesTo(options:TextOptions):Void

Copy all non-null values of this instance to the values of another instance.

Parameters:

options

destination options where to copy from this

copy():TextOptions

Returns a new instance with copyed values.