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
ConstructorsConstructorDescriptionTickRenderInfo(double offset, double interval) Creates an instance of aTickRenderInforecord 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.doubleinterval()Returns the value of theintervalrecord component.doubleoffset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TickRenderInfo
public TickRenderInfo(double offset, double interval) Creates an instance of aTickRenderInforecord class.- Parameters:
offset- the value for theoffsetrecord componentinterval- the value for theintervalrecord 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 theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
interval
public double interval()Returns the value of theintervalrecord component.- Returns:
- the value of the
intervalrecord component
-