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

Building primitive shapes
Syntax: FontStyle
  • A FontStyle node describes a font
  • justify - FIRST, BEGIN, MIDDLE, or END

  • [ textjust.wrl ]
    Shape {
    
        appearance Appearance {
    
            material Material { }
    
        }
    
        geometry Text {
    
            string . . .
    
            fontStyle FontStyle {
    
                justify "BEGIN"
    
            }
    
        }
    
    }