Class RelativeGeneralPath
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.RelativeGeneralPath
Describe this class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
append
(PathIterator pi, boolean connect) void
clone()
void
boolean
contains
(double x, double y) boolean
contains
(double x, double y, double w, double h) boolean
boolean
void
curveTo
(float x1, float y1, float x2, float y2, float x3, float y3) boolean
getPathIterator
(AffineTransform at, double flatness) int
boolean
intersects
(double x, double y, double w, double h) boolean
void
line
(float dX, float dY) void
lineTo
(float x, float y) void
move
(float dX, float dY) void
moveTo
(float x, float y) void
quadTo
(float x1, float y1, float x2, float y2) void
reset()
void
setWindingRule
(int rule) void
-
Constructor Details
-
RelativeGeneralPath
public RelativeGeneralPath()
-
-
Method Details
-
move
public void move(float dX, float dY) -
line
public void line(float dX, float dY) -
append
-
append
-
closePath
public void closePath() -
createTransformedShape
-
curveTo
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3) -
getCurrentPoint
-
getWindingRule
public int getWindingRule() -
lineTo
public void lineTo(float x, float y) -
moveTo
public void moveTo(float x, float y) -
quadTo
public void quadTo(float x1, float y1, float x2, float y2) -
reset
public void reset() -
setWindingRule
public void setWindingRule(int rule) -
transform
-
equals
-
contains
public boolean contains(double x, double y) -
contains
public boolean contains(double x, double y, double w, double h) -
contains
-
contains
-
getBounds
-
getBounds2D
- Specified by:
getBounds2D
in interfaceShape
-
clone
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
getPathIterator
- Specified by:
getPathIterator
in interfaceShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersects
in interfaceShape
-
intersects
- Specified by:
intersects
in interfaceShape
-