public class TextDrawable extends IgesDrawableBase implements IText
Provides intermediate Drawable representation of a text in a drawing
| Constructor and Description |
|---|
TextDrawable(String text,
Point3D origin,
double angle,
double width,
double height,
IDrawableProperties properties)
Creates text Drawable and determines its text boundaries
|
| Modifier and Type | Method and Description |
|---|---|
Point3D |
getEndBottomLine()
Right bottom point of text boundary, maps to AllPoints[3]
|
TextMirrioring |
getMirrioring()
Mirroring of text
|
IIgesDrawable |
getNewPropsDrawable(IDrawableProperties props)
Creates a new Text drawable using geometry of current Text drawable and provided non-geometric properties
|
TextOrientation |
getOrientation()
Horizontal or vertical text
|
Point3D |
getOrigin()
Left bottom point of text boundary, used as origin point of primitive,maps to AllPoints[0]
|
String |
getText()
Text
|
IIgesDrawable |
getTransformedDrawable(Point3D[] newPoints)
Creates a new Text drawable using provided points and non-geometric properties of current Text drawable
|
Point3D |
getUpperLeft()
Left upper point of text boundary, maps to AllPoints[1]
|
Point3D |
getUpperRight()
Right upper point of text boundary, maps to AllPoints[2]
|
getAllPoints, getChilds, getEntityUID, getId, getProperties, setEntityUIDequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllPoints, getEntityUID, getProperties, setEntityUIDpublic TextDrawable(String text, Point3D origin, double angle, double width, double height, IDrawableProperties properties)
Creates text Drawable and determines its text boundaries
text - origin - angle - width - height - properties - public final TextOrientation getOrientation()
Horizontal or vertical text
getOrientation in interface ITextpublic final TextMirrioring getMirrioring()
Mirroring of text
getMirrioring in interface ITextpublic final Point3D getOrigin()
Left bottom point of text boundary, used as origin point of primitive,maps to AllPoints[0]
public final Point3D getEndBottomLine()
Right bottom point of text boundary, maps to AllPoints[3]
getEndBottomLine in interface ITextpublic final Point3D getUpperLeft()
Left upper point of text boundary, maps to AllPoints[1]
getUpperLeft in interface ITextpublic final Point3D getUpperRight()
Right upper point of text boundary, maps to AllPoints[2]
getUpperRight in interface ITextpublic IIgesDrawable getTransformedDrawable(Point3D[] newPoints)
Creates a new Text drawable using provided points and non-geometric properties of current Text drawable
getTransformedDrawable in interface IIgesDrawablegetTransformedDrawable in class IgesDrawableBasenewPoints - All points defining new geometrypublic IIgesDrawable getNewPropsDrawable(IDrawableProperties props)
Creates a new Text drawable using geometry of current Text drawable and provided non-geometric properties
getNewPropsDrawable in interface IIgesDrawablegetNewPropsDrawable in class IgesDrawableBaseprops - New non-geometric propertiesCopyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.