FontParams

lumin.ui. FontParams

Font parameters.

Constructor

new FontParams(a_styleopt, a_weightopt, a_fontSizeopt, a_trackingopt, a_allCapsopt)

Parameters:
Name Type Attributes Default Description
a_style lumin.resources.FontStyle <optional>
resources.FontStyle.kNormal
a_weight lumin.resources.FontWeight <optional>
resources.FontWeight.kRegular
a_fontSize number <optional>
0.02
a_tracking number <optional>
50
a_allCaps boolean <optional>
false

Members

allCaps :boolean

If the text should be in all caps.

Type:
  • boolean

fontSize :number

The fond size if worldspace (meters)

Type:
  • number

style :lumin.resources.FontStyle

The font style

Type:

tracking :number

The font tracking (currently not supported).

Type:
  • number

weight :lumin.resources.FontWeight

The font weight

Type: