Record Class MaskPosition
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.MaskPosition
- All Implemented Interfaces:
Serializable, ApiResult
-
Constructor Summary
ConstructorsConstructorDescriptionMaskPosition(String point, Float xShift, Float yShift, Float scale) Creates an instance of aMaskPositionrecord 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.point()Returns the value of thepointrecord component.scale()Returns the value of thescalerecord component.final StringtoString()Returns a string representation of this record class.xShift()Returns the value of thexShiftrecord component.yShift()Returns the value of theyShiftrecord component.
-
Constructor Details
-
MaskPosition
Creates an instance of aMaskPositionrecord class.- Parameters:
point- the value for thepointrecord componentxShift- the value for thexShiftrecord componentyShift- the value for theyShiftrecord componentscale- the value for thescalerecord 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 withObjects::equals(Object,Object). -
point
Returns the value of thepointrecord component.- Returns:
- the value of the
pointrecord component
-
xShift
Returns the value of thexShiftrecord component.- Returns:
- the value of the
xShiftrecord component
-
yShift
Returns the value of theyShiftrecord component.- Returns:
- the value of the
yShiftrecord component
-
scale
Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-