Class TypefaceKey

java.lang.Object
org.jfree.skija.TypefaceKey

public class TypefaceKey
extends Object
A key used to identify a Typeface in a map used to cache items.
  • Constructor Details

    • TypefaceKey

      public TypefaceKey​(String fontName, io.github.humbleui.skija.FontStyle style)
      Creates a new key.
      Parameters:
      fontName - the font name.
      style - the style.
  • Method Details

    • getFontName

      public String getFontName()
      Returns the font name.
      Returns:
      The font name.
    • getStyle

      public io.github.humbleui.skija.FontStyle getStyle()
      Returns the font style.
      Returns:
      The font style.
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object