Record Class SvgGroup
java.lang.Object
java.lang.Record
pro.verron.asciidoc.converters.svg.SvgGroup
- Record Components:
transform- the SVG transform attributechildren- child elements
- All Implemented Interfaces:
SvgElement
public record SvgGroup(String transform, List<SvgElement> children)
extends Record
implements SvgElement
SVG
<g> element model.-
Constructor Summary
ConstructorsConstructorDescriptionSvgGroup(String transform, List<SvgElement> children) Creates an instance of aSvgGrouprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the SVG attributes for this element.children()Returns the value of thechildrenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.markup()Returns the SVG tag name for this element.final StringtoString()Returns a string representation of this record class.Returns the value of thetransformrecord component.Methods inherited from interface SvgElement
serialize
-
Constructor Details
-
Method Details
-
markup
Description copied from interface:SvgElementReturns the SVG tag name for this element.- Specified by:
markupin interfaceSvgElement- Returns:
- the SVG tag name
-
attributes
Description copied from interface:SvgElementReturns the SVG attributes for this element.- Specified by:
attributesin interfaceSvgElement- Returns:
- the SVG attributes
-
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). -
transform
-
children
Returns the value of thechildrenrecord component.- Specified by:
childrenin interfaceSvgElement- Returns:
- the value of the
childrenrecord component
-