DirectX Media for Animation Java Reference |
![]() Previous |
![]() Classes |
![]() Index |
![]() Next |
public class FontfamilyBvr extends Behavior { // Fields public static FontfamilyBvr monospaced; public static FontfamilyBvr sansSerifProportional; public static FontfamilyBvr serifProportional; // Methods public static FontfamilyBvr newUninitBvr(); }
Creates an object that represents a font behavior. The behavior defines the general attributes of a typeface, such as monospaced or proportional, serif or sans serif. You use this behavior when creating text behaviors with the TextBvr class.
public static FontfamilyBvr newUninitBvr();This method allows you to refer to an FontfamilyBvr behavior before that behavior has been defined. With this method you can create the behavior and use it in the definition of other behaviors, but not actually define its contents until some later point. (This is accomplished with the init method, which is available on all behaviors.) The system generates a run-time error if you initialize a non-uninitialized behavior, initialize an uninitialized behavior that has already been initialized, or run an initialized behavior that has not yet been initialized.
Return Value:
Returns the FontfamilyBvr object.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.