Record Class TickRenderInfo
java.lang.Object
java.lang.Record
gg.xp.xivsupport.gui.tables.renderers.TickRenderInfo
interval is out of 1 i.e. 0.1 means draw 10 ticks on the bar
offset is how much to slide over the first tick
-
Constructor Summary
ConstructorDescriptionTickRenderInfo
(double offset, double interval) Creates an instance of aTickRenderInfo
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.double
interval()
Returns the value of theinterval
record component.double
offset()
Returns the value of theoffset
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TickRenderInfo
public TickRenderInfo(double offset, double interval) Creates an instance of aTickRenderInfo
record class.- Parameters:
offset
- the value for theoffset
record componentinterval
- the value for theinterval
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
offset
public double offset()Returns the value of theoffset
record component.- Returns:
- the value of the
offset
record component
-
interval
public double interval()Returns the value of theinterval
record component.- Returns:
- the value of the
interval
record component
-