Record Class GuiImage.RetainedSvg
java.lang.Object
java.lang.Record
com.render.api.gui.paint.GuiImage.RetainedSvg
- All Implemented Interfaces:
GuiImage
- Enclosing interface:
GuiImage
public static record GuiImage.RetainedSvg(GuiSvgDocument document)
extends Record
implements GuiImage
-
Nested Class Summary
Nested classes/interfaces inherited from interface GuiImage
GuiImage.Gradient, GuiImage.Mesh, GuiImage.Raster, GuiImage.RetainedSvg, GuiImage.Svg, GuiImage.Worklet -
Constructor Summary
ConstructorsConstructorDescriptionRetainedSvg(GuiSvgDocument document) Creates an instance of aRetainedSvgrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondocument()Returns the value of thedocumentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RetainedSvg
Creates an instance of aRetainedSvgrecord class.- Parameters:
document- the value for thedocumentrecord 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). -
document
Returns the value of thedocumentrecord component.- Returns:
- the value of the
documentrecord component
-