Justification

lumin.text. Justification

new Justification(value)

Describes how text in a text region (e.g., paragraph) is justified.

Parameters:
Name Type Description
value number

Members

(static, constant) kCentered :lumin.text.Justification

All lines are centered with respect to the text-region boundary.

Type:

(static, constant) kEnd :lumin.text.Justification

All lines end at the last position (i.e., right-justified for English).

Type:

(static, constant) kJustified :lumin.text.Justification

Type:

(static, constant) kStart :lumin.text.Justification

All lines start at the starting position (i.e., left-justified for English).

Type:

value :number

Type:
  • number