BowlerKernel
Public Member Functions | Private Attributes | List of all members
eu.mihosoft.vrl.v3d.Text3d Class Reference
Inheritance diagram for eu.mihosoft.vrl.v3d.Text3d:
Inheritance graph
[legend]
Collaboration diagram for eu.mihosoft.vrl.v3d.Text3d:
Collaboration graph
[legend]

Public Member Functions

 Text3d (String text)
 
 Text3d (String text, double depth)
 
 Text3d (String text, String fontName, double fontSize, double depth)
 
List< PolygontoPolygons ()
 
PropertyStorage getProperties ()
 
Text3d noCenter ()
 
- Public Member Functions inherited from eu.mihosoft.vrl.v3d.Primitive
CSG toCSG ()
 

Private Attributes

final PropertyStorage properties = new PropertyStorage()
 

Detailed Description

3d text primitive.

Author
Michael Hoffer info@.nosp@m.mich.nosp@m.aelho.nosp@m.ffer.nosp@m..de

Definition at line 45 of file Text3d.java.

Constructor & Destructor Documentation

◆ Text3d() [1/3]

eu.mihosoft.vrl.v3d.Text3d.Text3d ( String  text)

Constructor.

Parameters
texttext

Definition at line 54 of file Text3d.java.

◆ Text3d() [2/3]

eu.mihosoft.vrl.v3d.Text3d.Text3d ( String  text,
double  depth 
)

Constructor.

Parameters
texttext
depthtext depth (z thickness)

Definition at line 64 of file Text3d.java.

◆ Text3d() [3/3]

eu.mihosoft.vrl.v3d.Text3d.Text3d ( String  text,
String  fontName,
double  fontSize,
double  depth 
)

Constructor.

Parameters
texttext
fontNamefont name, e.g., "Arial"
fontSizefont size
depthtext depth (z thickness)

Definition at line 76 of file Text3d.java.

References eu.mihosoft.vrl.v3d.TextExtrude.text.

Member Function Documentation

◆ getProperties()

PropertyStorage eu.mihosoft.vrl.v3d.Text3d.getProperties ( )

Returns the property storage of this primitive.

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.

◆ noCenter()

Text3d eu.mihosoft.vrl.v3d.Text3d.noCenter ( )

Definition at line 100 of file Text3d.java.

◆ toPolygons()

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.

Returns
a list of polygons that define this primitive

Reimplemented from eu.mihosoft.vrl.v3d.Primitive.

Definition at line 91 of file Text3d.java.

Member Data Documentation

◆ properties

final PropertyStorage eu.mihosoft.vrl.v3d.Text3d.properties = new PropertyStorage()
private

Definition at line 47 of file Text3d.java.

Referenced by eu.mihosoft.vrl.v3d.Text3d.getProperties().


The documentation for this class was generated from the following file: