Record Class CoverMarkers.Marked
java.lang.Object
java.lang.Record
net.ixdarklord.folios.internal.client.CoverMarkers.Marked
- Enclosing class:
CoverMarkers
A marked line: where and how large, and the z of the face it lies on.
-
Constructor Summary
ConstructorsConstructorDescriptionMarked(FoliosBook.CoverText.Line line, float z) Creates an instance of aMarkedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.line()Returns the value of thelinerecord component.final StringtoString()Returns a string representation of this record class.floatz()Returns the value of thezrecord component.
-
Constructor Details
-
Marked
Creates an instance of aMarkedrecord class.- Parameters:
line- the value for thelinerecord componentz- the value for thezrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
line
Returns the value of thelinerecord component.- Returns:
- the value of the
linerecord component
-
z
public float z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-