Table of contents Chapter index Previous slide Next slide 40
Syntax: FontStyle

Building primitive shapes
Syntax: FontStyle
  • A FontStyle node describes a font
  • size - character height
  • spacing - row/column spacing

  • [ textsize.wrl ]
    Shape {
    
        appearance Appearance {
    
            material Material { }
    
        }
    
        geometry Text {
    
            string . . .
    
            fontStyle FontStyle {
    
                size    1.0
    
                spacing 1.0
    
            }
    
        }
    
    }