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

Building primitive shapes
Syntax: FontStyle
  • A FontStyle node describes a font
  • horizontal - horizontal or vertical
  • leftToRight and topToBottom - direction

  • [ textvert.wrl ]
    Shape {
    
        appearance Appearance {
    
            material Material { }
    
        }
    
        geometry Text {
    
            string . . .
    
            fontStyle FontStyle {
    
                horizontal  FALSE
    
                leftToRight TRUE
    
                topToBottom TRUE
    
            }
    
        }
    
    }