Example usage for javax.media.j3d FontExtrusion FontExtrusion

List of usage examples for javax.media.j3d FontExtrusion FontExtrusion

Introduction

In this page you can find the example usage for javax.media.j3d FontExtrusion FontExtrusion.

Prototype

public FontExtrusion() 

Source Link

Document

Constructs a FontExtrusion object with default parameters.

Usage

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;
}