Package io.github.humbleui.skija
Class FontStyle
- java.lang.Object
-
- io.github.humbleui.skija.FontStyle
-
public class FontStyle extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)FontSlantgetSlant()intgetWeight()intgetWidth()inthashCode()java.lang.StringtoString()FontStylewithSlant(FontSlant slant)FontStylewithWeight(int weight)FontStylewithWidth(int width)
-
-
-
Constructor Detail
-
FontStyle
public FontStyle(int weight, int width, FontSlant slant)
-
FontStyle
@Internal public FontStyle(int value)
-
-
Method Detail
-
getWeight
public int getWeight()
-
withWeight
public FontStyle withWeight(int weight)
-
getWidth
public int getWidth()
-
withWidth
public FontStyle withWidth(int width)
-
getSlant
public FontSlant getSlant()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-