justification#

text.justification(p0: str) int#

Specifies the placement of the selected text in the graphics window, in relation to the point specified in the text: location_x and location_y commands.

The default value for justification is left.
Also denotes the point about which the text rotates.
Args:
p0:

‘justification_type’

  • Must have one of the following values:

  • left

  • center

  • right

Examples:
ensight.text.select_begin(1)
ensight.text.location_x(0.5)
ensight.text.location_y(0.6)
ensight.text.justification("left")
Returns:

zero on success, non-zero on error