fmeobjects.FMEText.scale

FMEText.scale(xScale, yScale, zScale, scaleText)

Scale the feature by the given amounts. ‘zScale’ is ignored if the text object is 2D. An error is returned if the operation is unsucessful.

Parameters:
  • xScale (float) – The value to scale x by.

  • yScale (float) – The value to scale y by.

  • zScale (float) – The value to scale z by.

  • scaleText (bool) – (Optional) Whether to scale the text.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.