Record Class SvgDocument.Run
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.internal.svg.SvgDocument.Run
- Enclosing class:
SvgDocument
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledx()Returns the value of thedxrecord component.doubledy()Returns the value of thedyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.style()Returns the value of thestylerecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.x()Returns the value of thexrecord component.y()Returns the value of theyrecord component.
-
Constructor Details
-
Run
Creates an instance of aRunrecord class.- Parameters:
text- the value for thetextrecord componentx- the value for thexrecord componenty- the value for theyrecord componentdx- the value for thedxrecord componentdy- the value for thedyrecord componentstyle- the value for thestylerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
x
Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
dx
public double dx()Returns the value of thedxrecord component.- Returns:
- the value of the
dxrecord component
-
dy
public double dy()Returns the value of thedyrecord component.- Returns:
- the value of the
dyrecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-