public final class CurveToCommand extends java.lang.Object implements PathCommand
Java class for CT_Path2DCubicBezierTo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Path2DCubicBezierTo"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="pt" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AdjPoint2D" maxOccurs="3" minOccurs="3"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
CurveToCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
void |
execute(java.awt.geom.Path2D.Double path,
Context ctx)
Execute the command an append a segment to the specified path
|
int |
hashCode() |
void |
setPt1(AdjustPoint pt1) |
void |
setPt2(AdjustPoint pt2) |
void |
setPt3(AdjustPoint pt3) |
public void setPt1(AdjustPoint pt1)
public void setPt2(AdjustPoint pt2)
public void setPt3(AdjustPoint pt3)
public void execute(java.awt.geom.Path2D.Double path, Context ctx)
PathCommand
execute
in interface PathCommand
path
- the path to append the result toctx
- the context to lookup variablespublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.