![]() |
![]() |
![]() |
![]() |
532 |
Font my2DFont = new Font(
"Arial", // font name
Font.PLAIN, // font style
1 ); // font size
FontExtrusion myExtrude = new FontExtrusion( );
Font3D my3DFont = new Font3D( my2DFont, myExtrude );
Text3D myText = new Text3D( );
myText.setFont3D( my3DFont );
myText.setString( "Hello!" );
Shape3D myShape = new Shape3D( myText, myAppear );