All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.media.j3d.FontExtrusion

java.lang.Object
   |
   +----java.media.j3d.FontExtrusion

public class FontExtrusion
extends Object
The FontExtrusion object is used to describe the extrusion path for a Font3D object. The extrusion path is used in conjunction with a Font2D object. The extrusion path defines the edge contour of 3D text. This contour is perpendicular to the face of the text. The extrusion has it's origin at the edge of the glyph with 1.0 being the height of the tallest glyph. Each point in the extrusion path must ensure that the current x coordinate is greater than the previous x coordinate.

See Also:
Font, Font3D

Constructor Index

 o FontExtrusion()
Creates a default FontExtrusion object.
 o FontExtrusion(Shape)
Creates a FontExtrusion object with the specified shape.

Method Index

 o getExtrusionShape(Shape)
Gets the FontExtrusion's shape parameter.
 o setExtrusionShape(Shape)
Sets the FontExtrusion's shape parameter.

Constructors

 o FontExtrusion
 public FontExtrusion()
Creates a default FontExtrusion object. The default shape is a striaght line from 0.0 to 0.2 (straight bevel).

See Also:
Font3D, Shape
 o FontExtrusion
 public FontExtrusion(Shape extrusionShape)
Creates a FontExtrusion object with the specified shape. The shape parameter is used to construct the edge contour of a Font3D object. Each shape begins with an implicit point at 0.0. Each point in the extrusion path must ensure that the current x coordinate is greater than the previous x coordinate.

Parameters:
extrusionShape - the shape object to use to generate the extrusion path.
See Also:
Font3D, Shape

Methods

 o setExtrusionShape
 public final void setExtrusionShape(Shape extrusionShape)
Sets the FontExtrusion's shape parameter. This parameter is used to construct the 3D contour of a Font3D object.

Parameters:
extrusionShape - the shape object to use to generate the extrusion path.
See Also:
Font3D, Shape
 o getExtrusionShape
 public final void getExtrusionShape(Shape extrusionShape)
Gets the FontExtrusion's shape parameter. This parameter is used to construct the 3D contour of a Font3D object.

Parameters:
extrusionShape - the shape object used to generate the extrusion path.
See Also:
Font3D, Shape

All Packages  Class Hierarchy  This Package  Previous  Next  Index