Record Class GuiLayerBoundary.Effects
java.lang.Object
java.lang.Record
com.render.api.gui.internal.GuiLayerBoundary.Effects
- Enclosing class:
GuiLayerBoundary
public static record GuiLayerBoundary.Effects(GuiFilterChain filters, List<GuiMaskLayer> masks, GuiRect maskReference, GuiTransform.Projective maskTransform, GuiPaintWorkletContext paintContext, GuiRect maskPaddingReference, GuiRect maskContentReference)
extends Record
Filter and mask ownership at the exact painter-order boundary of one retained subtree.
-
Constructor Summary
ConstructorsConstructorDescriptionEffects(GuiFilterChain filters, List<GuiMaskLayer> masks) Preserves the original untransformed boundary constructor.Effects(GuiFilterChain filters, List<GuiMaskLayer> masks, GuiRect maskReference, GuiTransform.Projective maskTransform, GuiPaintWorkletContext paintContext) Effects(GuiFilterChain filters, List<GuiMaskLayer> masks, GuiRect maskReference, GuiTransform.Projective maskTransform, GuiPaintWorkletContext paintContext, GuiRect maskPaddingReference, GuiRect maskContentReference) Creates an instance of aEffectsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filters()Returns the value of thefiltersrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themaskContentReferencerecord component.Returns the value of themaskPaddingReferencerecord component.Returns the value of themaskReferencerecord component.masks()Returns the value of themasksrecord component.Returns the value of themaskTransformrecord component.Returns the value of thepaintContextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Effects
Preserves the original untransformed boundary constructor. -
Effects
public Effects(GuiFilterChain filters, List<GuiMaskLayer> masks, GuiRect maskReference, GuiTransform.Projective maskTransform, GuiPaintWorkletContext paintContext) -
Effects
public Effects(GuiFilterChain filters, List<GuiMaskLayer> masks, GuiRect maskReference, GuiTransform.Projective maskTransform, GuiPaintWorkletContext paintContext, GuiRect maskPaddingReference, GuiRect maskContentReference) Creates an instance of aEffectsrecord class.- Parameters:
filters- the value for thefiltersrecord componentmasks- the value for themasksrecord componentmaskReference- the value for themaskReferencerecord componentmaskTransform- the value for themaskTransformrecord componentpaintContext- the value for thepaintContextrecord componentmaskPaddingReference- the value for themaskPaddingReferencerecord componentmaskContentReference- the value for themaskContentReferencerecord 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). -
filters
Returns the value of thefiltersrecord component.- Returns:
- the value of the
filtersrecord component
-
masks
Returns the value of themasksrecord component.- Returns:
- the value of the
masksrecord component
-
maskReference
Returns the value of themaskReferencerecord component.- Returns:
- the value of the
maskReferencerecord component
-
maskTransform
Returns the value of themaskTransformrecord component.- Returns:
- the value of the
maskTransformrecord component
-
paintContext
Returns the value of thepaintContextrecord component.- Returns:
- the value of the
paintContextrecord component
-
maskPaddingReference
Returns the value of themaskPaddingReferencerecord component.- Returns:
- the value of the
maskPaddingReferencerecord component
-
maskContentReference
Returns the value of themaskContentReferencerecord component.- Returns:
- the value of the
maskContentReferencerecord component
-