Package icyllis.arc3d.core.j2d

# Class Typeface_JDK

java.lang.Object
icyllis.arc3d.core.Typeface
icyllis.arc3d.core.j2d.Typeface_JDK

public class Typeface_JDK extends Typeface
Wraps a JDK Font2D.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Typeface_JDK(Font font)`
  The AWT font object must represent only a family and style, its size should be 1 by default.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Font`
  `getFont()`
  `protected ScalerContext`
  `onCreateScalerContext(StrikeDesc desc)`
  `protected void`
  `onFilterStrikeDesc(StrikeDesc desc)`

  ### Methods inherited from class icyllis.arc3d.core.Typeface

  `createScalerContext, equals, getUniqueID, hashCode`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Typeface_JDK

    public Typeface_JDK(Font font)
    The AWT font object must represent only a family and style, its size should be 1 by default. The font style may be algorithmic that is provided by JDK.

- ## Method Details

  - ### getFont

    public Font getFont()

  - ### onCreateScalerContext

    @Nonnull protected ScalerContext onCreateScalerContext(StrikeDesc desc)
    Specified by:
      `onCreateScalerContext` in class `Typeface`

  - ### onFilterStrikeDesc

    protected void onFilterStrikeDesc(StrikeDesc desc)
    Specified by:
      `onFilterStrikeDesc` in class `Typeface`