Uses of Class
org.eclipse.gef.geometry.planar.Path
Package
Description
This package provides support for converting geometric objects to SWT and for
conversion between SWT and AWT.
This package provides support for geometric calculations based on shapes.
-
Uses of Path in org.eclipse.gef.geometry.convert.swt
Modifier and TypeMethodDescriptionstatic final PathData
Geometry2SWT.toSWTPathData
(Path p) Converts the given path into an SWTPathData
representation. -
Uses of Path in org.eclipse.gef.geometry.planar
Modifier and TypeMethodDescriptionfinal Path
Path.add
(List<Path.Segment> segments) final Path
Path.add
(Path.Segment... segments) Adds the givenPath.Segment
s to thisPath
.static Path
Unions the two specifiedPath
sfinal Path
Path.close()
Closes the current sub-path by drawing a straight line (line-to) to the location of the last move to.final Path
Path.cubicTo
(double control1X, double control1Y, double control2X, double control2Y, double x, double y) Adds a cubic Bezier curve segment from the current position to the specified end position, using the two provided control points as Bezier control points.static Path
Path.exclusiveOr
(Path pa, Path pb) Computes the area covered by the first or the second but not both given areas.Path.getCopy()
Pie.getRotatedCCW
(Angle angle) Pie.getRotatedCCW
(Angle angle, double cx, double cy) Pie.getRotatedCCW
(Angle angle, Point center) Pie.getRotatedCW
(Angle angle) Pie.getRotatedCW
(Angle angle, double cx, double cy) Pie.getRotatedCW
(Angle angle, Point center) Path.getTransformed
(AffineTransform t) static Path
Intersects the given areas.final Path
Path.lineTo
(double x, double y) Adds a straight line segment from the current position to the specified end position.final Path
Path.moveTo
(double x, double y) Changes the current position.final Path
Path.quadTo
(double controlX, double controlY, double x, double y) Adds a quadratic curve segment from the current position to the specified end position, using the provided control point as a parametric control point.final Path
Path.reset()
Resets the path to be empty.Path.setWindingRule
(int windingRule) Sets the winding rule of thisPath
to the passed-in integer constant which is either of:WIND_NON_ZERO
(default)WIND_EVEN_ODD
static Path
Subtracts the second given area from the first given area.BezierCurve.toPath()
CubicCurve.toPath()
CurvedPolygon.toPath()
Ellipse.toPath()
Returns aPath
representation of thisEllipse
, which is an approximation of the fouroutline segments
by means ofCubicCurve
s.IGeometry.toPath()
Line.toPath()
Path.toPath()
Pie.toPath()
PolyBezier.toPath()
Polygon.toPath()
Polyline.toPath()
QuadraticCurve.toPath()
Transform the QuadraticCurve object to aPath
object with the same shape.Rectangle.toPath()
RoundedRectangle.toPath()
Modifier and TypeMethodDescriptionstatic Path
Unions the two specifiedPath
sstatic Path
Path.exclusiveOr
(Path pa, Path pb) Computes the area covered by the first or the second but not both given areas.static Path
Intersects the given areas.static Path
Subtracts the second given area from the first given area.