Package org.apache.fontbox.afm
Class TrackKern
java.lang.Object
org.apache.fontbox.afm.TrackKern
This class represents a piece of track kerning data.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final floatprivate final floatprivate final floatprivate final float -
Constructor Summary
ConstructorsConstructorDescriptionTrackKern(int degree, float minPointSize, float minKern, float maxPointSize, float maxKern) -
Method Summary
Modifier and TypeMethodDescriptionintGetter for property degree.floatGetter for property maxKern.floatGetter for property maxPointSize.floatGetter for property minKern.floatGetter for property minPointSize.
-
Field Details
-
degree
private final int degree -
minPointSize
private final float minPointSize -
minKern
private final float minKern -
maxPointSize
private final float maxPointSize -
maxKern
private final float maxKern
-
-
Constructor Details
-
TrackKern
public TrackKern(int degree, float minPointSize, float minKern, float maxPointSize, float maxKern)
-
-
Method Details
-
getDegree
public int getDegree()Getter for property degree.- Returns:
- Value of property degree.
-
getMaxKern
public float getMaxKern()Getter for property maxKern.- Returns:
- Value of property maxKern.
-
getMaxPointSize
public float getMaxPointSize()Getter for property maxPointSize.- Returns:
- Value of property maxPointSize.
-
getMinKern
public float getMinKern()Getter for property minKern.- Returns:
- Value of property minKern.
-
getMinPointSize
public float getMinPointSize()Getter for property minPointSize.- Returns:
- Value of property minPointSize.
-