nodebox.graphics
Class PathElement
java.lang.Object
nodebox.graphics.PathElement
public class PathElement
- extends Object
|
Constructor Summary |
PathElement()
|
PathElement(int command)
|
PathElement(int command,
double[] points)
|
PathElement(int command,
double x,
double y)
|
PathElement(int command,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
|
PathElement(int command,
Point point,
Point control1,
Point control2)
|
MOVETO
public static final int MOVETO
- See Also:
- Constant Field Values
LINETO
public static final int LINETO
- See Also:
- Constant Field Values
CURVETO
public static final int CURVETO
- See Also:
- Constant Field Values
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
PathElement
public PathElement()
PathElement
public PathElement(int command)
PathElement
public PathElement(int command,
double x,
double y)
PathElement
public PathElement(int command,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
PathElement
public PathElement(int command,
double[] points)
PathElement
public PathElement(int command,
Point point,
Point control1,
Point control2)
getCommand
public int getCommand()
getPoint
public Point getPoint()
getX
public double getX()
getY
public double getY()
getControl1
public Point getControl1()
getControl2
public Point getControl2()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.