JavaCAD
|
Public Member Functions | |
Text3d (String text) | |
Text3d (String text, double depth) | |
Text3d (String text, String fontName, double fontSize, double depth) | |
List< Polygon > | toPolygons () |
PropertyStorage | getProperties () |
Text3d | noCenter () |
![]() | |
CSG | toCSG () |
Private Attributes | |
final PropertyStorage | properties = new PropertyStorage() |
3d text primitive.
Definition at line 45 of file Text3d.java.
eu.mihosoft.vrl.v3d.Text3d.Text3d | ( | String | text | ) |
eu.mihosoft.vrl.v3d.Text3d.Text3d | ( | String | text, |
double | depth | ||
) |
Constructor.
text | text |
depth | text depth (z thickness) |
Definition at line 64 of file Text3d.java.
eu.mihosoft.vrl.v3d.Text3d.Text3d | ( | String | text, |
String | fontName, | ||
double | fontSize, | ||
double | depth | ||
) |
Constructor.
text | text |
fontName | font name, e.g., "Arial" |
fontSize | font size |
depth | text depth (z thickness) |
Definition at line 76 of file Text3d.java.
References eu.mihosoft.vrl.v3d.TextExtrude.text.
PropertyStorage eu.mihosoft.vrl.v3d.Text3d.getProperties | ( | ) |
Returns the property storage of this primitive.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 96 of file Text3d.java.
References eu.mihosoft.vrl.v3d.Text3d.properties.
Text3d eu.mihosoft.vrl.v3d.Text3d.noCenter | ( | ) |
Definition at line 100 of file Text3d.java.
List<Polygon> eu.mihosoft.vrl.v3d.Text3d.toPolygons | ( | ) |
Returns the polygons that define this primitive.
Note: this method computes the polygons each time this method is called. The polygons can be cached inside a CSG object.
Reimplemented from eu.mihosoft.vrl.v3d.Primitive.
Definition at line 91 of file Text3d.java.
|
private |
Definition at line 47 of file Text3d.java.
Referenced by eu.mihosoft.vrl.v3d.Text3d.getProperties().