FME Text class.
Create an instance of a Text geometry object.
Creates a new Text geometry object. 'textRotation' is CCW up from the
horizontal and is measured in degrees. 'textSize' is the height of the
text's box before rotation. It includes all lines and interline spacing
for multi-line text. The 'textString' is specified as an unicode string,
which is set as an encoded text string on the text object.
Create a copy of the passed in Text geometry object.
|
__init__(MultipleInvocations)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
FMEGeometry, or FMEPoint
|
|
float
|
|
float
|
getTextSize()
Returns the text size of the text object. |
|
|
unicode
|
|
None
|
offset(offsetPoint)
Offsets the geometry by the coordinate values specified by
'offsetPoint'. |
|
|
None
|
reset(text)
Resets the existing text object, and sets its values to the data
stored in 'text'. |
|
|
None
|
rotate2D(center,
angle)
Rotates the text counterclockwise around the 'center' point by the
specified 'angle' (in degrees). |
|
|
None
|
scale(xScale,
yScale,
zScale,
scaleText)
Scale the feature by the given amounts. |
|
|
None
|
setLocation(location)
Sets the existing text object's location to the value in 'location'. |
|
|
None
|
setTextRotation(textRotation)
Sets the rotation of the existing text object to 'textRotation'. |
|
|
None
|
setTextSize(textSize)
Sets the existing text object's location to the value in 'location'. |
|
|
None
|
setTextString(textString)
Sets the existing text object's text string to 'textString'. |
|
|
Inherited from FMEGeometry :
__getObject__ ,
__new__ ,
boundingBox ,
boundingCube ,
bounds ,
clearMeasures ,
copyAttributesFromFeature ,
copyNameFromGeometry ,
copyTraitsFromGeometry ,
copyTraitsToFeature ,
deleteName ,
force2D ,
force3D ,
getArea ,
getMeasureNames ,
getName ,
getTrait ,
getTraitNames ,
getTraitNullMissingAndType ,
getTraitType ,
hasMeasures ,
hasName ,
is3D ,
isCollection ,
measureExists ,
removeMeasure ,
removeTraits ,
renameMeasure ,
setName ,
setTrait ,
setTraitNullWithType
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|