Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.fonts
Class SubstanceFontUtilities

    java.lang.Object
      org.jvnet.substance.fonts.SubstanceFontUtilities

    public class SubstanceFontUtilities

extends java.lang.Object

Font-related utilities.

Author:
  Kirill Grouchnikov

Constructor Summary
`SubstanceFontUtilities()`

Method Summary
`static FontPolicy` | `getDefaultFontPolicy()` Returns the default platform-specific font policy.
`static FontPolicy` | `getScaledFontPolicy(float scaleFactor)` Returns scaled platform-specific font policy.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SubstanceFontUtilities

    public SubstanceFontUtilities()

Method Detail

### getDefaultFontPolicy

    public static FontPolicy getDefaultFontPolicy()

  Returns the default platform-specific font policy.

  Returns:
    Default platform-specific font policy.

### getScaledFontPolicy

    public static FontPolicy getScaledFontPolicy(float scaleFactor)

  Returns scaled platform-specific font policy.

  Parameters:
    `scaleFactor` - Scale factor. Should be positive.
  Returns:
    Scaled platform-specific font policy.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD