This example demonstrates how to define and use a property class. A class is used to create a named set of property values and then use those values in multiple places, avoiding duplication.
To create a class, add a
classes entry in the root of the story. Within the classes object, add a named child object with whatever property values you want.
This first example creates a class named
emboss with properties that provide a sunken look. The three text items use the class pseudo-property in the