Record Class SvgDocument.Shape
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.internal.svg.SvgDocument.Shape
- All Implemented Interfaces:
SvgDocument.Item
- Enclosing class:
SvgDocument
-
Constructor Summary
Constructors -
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.location()Returns the value of thelocationrecord component.path()Returns the value of thepathrecord component.style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransformrecord component.
-
Constructor Details
-
Shape
Creates an instance of aShaperecord class.- Parameters:
transform- the value for thetransformrecord componentstyle- the value for thestylerecord componentpath- the value for thepathrecord componentlocation- the value for thelocationrecord 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). -
transform
Returns the value of thetransformrecord component.- Specified by:
transformin interfaceSvgDocument.Item- Returns:
- the value of the
transformrecord component
-
style
Returns the value of thestylerecord component.- Specified by:
stylein interfaceSvgDocument.Item- Returns:
- the value of the
stylerecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
location
Returns the value of thelocationrecord component.- Specified by:
locationin interfaceSvgDocument.Item- Returns:
- the value of the
locationrecord component
-