Package com.mta.tehreer.sfnt
Class OpenTypeFeature
java.lang.Object
com.mta.tehreer.sfnt.OpenTypeFeature
Represents an OpenType Layout feature.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static OpenTypeFeature
of
(int tag, int value) Returns an open type feature object with the specified tag and value.int
tag()
Returns the tag of the feature that identifies its typographic function and effects.toString()
int
value()
Returns the value of the feature that modifies its behaviour.
-
Method Details
-
of
Returns an open type feature object with the specified tag and value.A tag can be created from string by using
SfntTag.make(String)
method.- Parameters:
tag
- The tag of the feature that identifies its typographic function and effects.value
- The value of the feature that modifies its behaviour.- Returns:
- A new open type feature object.
-
tag
public int tag()Returns the tag of the feature that identifies its typographic function and effects.- Returns:
- The tag of the feature that identifies its typographic function and effects.
-
value
public int value()Returns the value of the feature that modifies its behaviour.- Returns:
- The value of the feature that modifies its behaviour.
-
equals
-
hashCode
public int hashCode() -
toString
-