List of usage examples for javax.media.j3d FontExtrusion FontExtrusion
public FontExtrusion()
From source file:AppearanceExplorer.java
Shape3D createText3D() { Font3D f3d = new Font3D(new Font(null, Font.PLAIN, 2), new FontExtrusion()); Text3D t3d = new Text3D(f3d, "Text3D", new Point3f(-3.0f, -1.0f, 0.0f)); Shape3D textShape = new Shape3D(t3d, appearance); return textShape; }