Package com.mta.tehreer.font
Class NamedStyle
java.lang.Object
com.mta.tehreer.font.NamedStyle
Represents font named style.
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
Returns the coordinates.boolean
int
hashCode()
static NamedStyle
Returns a named style object with the specified values.Returns the post script name.Returns the style name.
-
Method Details
-
of
@NonNull public static NamedStyle of(@NonNull String styleName, @NonNull @Size(min=1L) float[] coordinates, @Nullable String postScriptName) Returns a named style object with the specified values.- Parameters:
styleName
- The style name.coordinates
- The variation coordinates.postScriptName
- The post script name.- Returns:
- A new named style object.
-
styleName
Returns the style name.- Returns:
- The style name.
-
coordinates
@NonNull public float[] coordinates()Returns the coordinates.- Returns:
- The coordinates.
-
postScriptName
Returns the post script name.- Returns:
- The post script name.
-
equals
-
hashCode
public int hashCode()
-