Constructor and Description |
---|
DXFText(String text,
RealPoint basePoint,
DXFStyle style,
Paint paint)
Create a text object at the specified position.
|
DXFText(String text,
RealPoint basePoint,
float rotationAngle,
DXFStyle style,
Paint paint)
Create a text object at the specified position.
|
DXFText(String text,
RealPoint basePoint,
float rotationAngle,
float obliqueAngle,
DXFStyle style,
Paint paint)
Create a text object at the specified position.
|
Modifier and Type | Method and Description |
---|---|
String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the text object.
|
public DXFText(String text, RealPoint basePoint, DXFStyle style, Paint paint)
text
- Text stringbasePoint
- Location of the base point of the textstyle
- Text style (font)paint
- The graphical Paint object specifying size for the textpublic DXFText(String text, RealPoint basePoint, float rotationAngle, DXFStyle style, Paint paint)
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)paint
- The graphical Paint object specifying size for the textpublic DXFText(String text, RealPoint basePoint, float rotationAngle, float obliqueAngle, DXFStyle style, Paint paint)
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)paint
- The graphical Paint object specifying size for the textpublic String toDXFString()
toDXFString
in interface DXFObject