public final class LineToCommand extends java.lang.Object implements PathCommand
Java class for CT_Path2DLineTo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Path2DLineTo"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="pt" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_AdjPoint2D"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
LineToCommand() |
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
|
AdjustPoint |
getPt() |
int |
hashCode() |
void |
setPt(AdjustPoint pt) |
public AdjustPoint getPt()
public void setPt(AdjustPoint pt)
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.