java.lang.Object
java.lang.Record
org.freedesktop.cairo.PathElement.CurveTo
- Record Components:
x1- the X coordinate of the first control pointy1- the Y coordinate of the first control pointx2- the X coordinate of the second control pointy2- the Y coordinate of the second control pointx3- the X coordinate of the end of the curvey3- the Y coordinate of the end of the curve
- All Implemented Interfaces:
PathElement
- Enclosing interface:
PathElement
public static record PathElement.CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)
extends Record
implements PathElement
A
PathDataType.CURVE_TO path element-
Nested Class Summary
Nested classes/interfaces inherited from interface org.freedesktop.cairo.PathElement
PathElement.ClosePath, PathElement.CurveTo, PathElement.LineTo, PathElement.MoveTo -
Constructor Summary
ConstructorsConstructorDescriptionCurveTo(double x1, double y1, double x2, double y2, double x3, double y3) Creates an instance of aCurveTorecord class. -
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.final StringtoString()Returns a string representation of this record class.doublex1()Returns the value of thex1record component.doublex2()Returns the value of thex2record component.doublex3()Returns the value of thex3record component.doubley1()Returns the value of they1record component.doubley2()Returns the value of they2record component.doubley3()Returns the value of they3record component.
-
Constructor Details
-
CurveTo
public CurveTo(double x1, double y1, double x2, double y2, double x3, double y3) Creates an instance of aCurveTorecord class.
-
-
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 with '=='. -
x1
-
y1
-
x2
-
y2
-
x3
-
y3
-