Record Class ClipUtil.StartExtent
java.lang.Object
java.lang.Record
dev.pfaff.altargui.util.ClipUtil.StartExtent
-
Constructor Summary
ConstructorsConstructorDescriptionStartExtent
(float start, float extent) Creates an instance of aStartExtent
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.float
extent()
Returns the value of theextent
record component.final int
hashCode()
Returns a hash code value for this object.float
start()
Returns the value of thestart
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StartExtent
public StartExtent(float start, float extent) Creates an instance of aStartExtent
record class.- Parameters:
start
- the value for thestart
record componentextent
- the value for theextent
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 '=='. -
start
public float start()Returns the value of thestart
record component.- Returns:
- the value of the
start
record component
-
extent
public float extent()Returns the value of theextent
record component.- Returns:
- the value of the
extent
record component
-