Constructor and Description |
---|
DXFText(java.lang.String text,
RealPoint basePoint,
double rotationAngle,
double obliqueAngle,
DXFStyle style,
java.awt.Graphics2D graphics)
Create a text object at the specified position.
|
DXFText(java.lang.String text,
RealPoint basePoint,
double rotationAngle,
DXFStyle style,
java.awt.Graphics2D graphics)
Create a text object at the specified position.
|
DXFText(java.lang.String text,
RealPoint basePoint,
DXFStyle style,
java.awt.Graphics2D graphics)
Create a text object at the specified position.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the text object.
|
getDXFHatchInfo, getDXFLineWeight
getHandle, getHandleCount
public DXFText(java.lang.String text, RealPoint basePoint, DXFStyle style, java.awt.Graphics2D graphics)
text
- Text stringbasePoint
- Location of the base point of the textstyle
- Text style (font)graphics
- The graphics object specifying parameters for this entity (color, thickness)public DXFText(java.lang.String text, RealPoint basePoint, double rotationAngle, DXFStyle style, java.awt.Graphics2D graphics)
text
- Text stringbasePoint
- Location of the base point of the textrotationAngle
- Angle by which the text baseline is rotated from the horizontalstyle
- Text style (font)graphics
- The graphics object specifying parameters for this entity (color, thickness)public DXFText(java.lang.String text, RealPoint basePoint, double rotationAngle, double obliqueAngle, DXFStyle style, java.awt.Graphics2D graphics)
text
- Text stringbasePoint
- Location of the base point of the textrotationAngle
- Angle by which the text baseline is rotated from the horizontalobliqueAngle
- Angle by which the text is slanted from the baselinestyle
- Text style (font)graphics
- The graphics object specifying parameters for this entity (color, thickness)public java.lang.String toDXFString()
toDXFString
in interface DXFObject
toDXFString
in class DXFEntity