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>
(CT_Path2DCubicBezierTo 复杂类型的 Java 类。以下架构片段指定了此类中包含的预期内容。
| 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
(在接口 PathCommand 中执行)
path - the path to append the result to
(path - 将结果附加到的路径)
ctx - the context to lookup variables
(ctx - 查找变量的上下文)
public 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.