Record Class GuiLayerBoundary.Clip
java.lang.Object
java.lang.Record
com.render.api.gui.internal.GuiLayerBoundary.Clip
- Record Components:
path- authored clip pathreference- reference box used to resolve the pathvisualTransform- complete source-to-design-space transform
- Enclosing class:
GuiLayerBoundary
public static record GuiLayerBoundary.Clip(GuiClipPath path, GuiRect reference, GuiTransform.Projective visualTransform)
extends Record
Exact source-space geometry carried by an extraction-order path clip.
-
Constructor Summary
ConstructorsConstructorDescriptionClip(GuiClipPath path, GuiRect reference, GuiTransform.Projective visualTransform) Creates an instance of aCliprecord 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.path()Returns the value of thepathrecord component.Returns the value of thereferencerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevisualTransformrecord component.
-
Constructor Details
-
Clip
Creates an instance of aCliprecord class.- Parameters:
path- the value for thepathrecord componentreference- the value for thereferencerecord componentvisualTransform- the value for thevisualTransformrecord 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). -
path
-
reference
-
visualTransform
Returns the value of thevisualTransformrecord component.- Returns:
- the value of the
visualTransformrecord component
-