Record Class FKGlyphLoadableTexture.Factors
java.lang.Object
java.lang.Record
dev.pfaff.altargui.pathfinder.fontkit.FKGlyphLoadableTexture.Factors
- Enclosing class:
FKGlyphLoadableTexture
public static record FKGlyphLoadableTexture.Factors(float originX, float originY, float width, float height)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFactors
(float originX, float originY, float width, float height) Creates an instance of aFactors
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.float
height()
Returns the value of theheight
record component.float
originX()
Returns the value of theoriginX
record component.float
originY()
Returns the value of theoriginY
record component.final String
toString()
Returns a string representation of this record class.float
width()
Returns the value of thewidth
record component.
-
Constructor Details
-
Factors
public Factors(float originX, float originY, float width, float height) Creates an instance of aFactors
record class.- Parameters:
originX
- the value for theoriginX
record componentoriginY
- the value for theoriginY
record componentwidth
- the value for thewidth
record componentheight
- the value for theheight
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
originX
public float originX()Returns the value of theoriginX
record component.- Returns:
- the value of the
originX
record component
-
originY
public float originY()Returns the value of theoriginY
record component.- Returns:
- the value of the
originY
record component
-
width
public float width()Returns the value of thewidth
record component.- Returns:
- the value of the
width
record component
-
height
public float height()Returns the value of theheight
record component.- Returns:
- the value of the
height
record component
-