Uses of Class
org.eclipse.gef.geometry.planar.Path
Packages that use 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
Methods in org.eclipse.gef.geometry.convert.swt that return PathMethods in org.eclipse.gef.geometry.convert.swt with parameters of type PathModifier and TypeMethodDescriptionstatic final PathDataGeometry2SWT.toSWTPathData(Path p) Converts the given path into an SWTPathDatarepresentation. -
Uses of Path in org.eclipse.gef.geometry.planar
Methods in org.eclipse.gef.geometry.planar that return PathModifier and TypeMethodDescriptionfinal PathPath.add(List<Path.Segment> segments) final PathPath.add(Path.Segment... segments) Adds the givenPath.Segments to thisPath.static PathUnions the two specifiedPathsfinal PathPath.close()Closes the current sub-path by drawing a straight line (line-to) to the location of the last move to.final PathPath.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 PathPath.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 PathIntersects the given areas.final PathPath.lineTo(double x, double y) Adds a straight line segment from the current position to the specified end position.final PathPath.moveTo(double x, double y) Changes the current position.final PathPath.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 PathPath.reset()Resets the path to be empty.Path.setWindingRule(int windingRule) Sets the winding rule of thisPathto the passed-in integer constant which is either of:WIND_NON_ZERO(default)WIND_EVEN_ODDstatic PathSubtracts the second given area from the first given area.BezierCurve.toPath()CubicCurve.toPath()CurvedPolygon.toPath()Ellipse.toPath()Returns aPathrepresentation of thisEllipse, which is an approximation of the fouroutline segmentsby means ofCubicCurves.IGeometry.toPath()Line.toPath()Path.toPath()Pie.toPath()PolyBezier.toPath()Polygon.toPath()Polyline.toPath()QuadraticCurve.toPath()Transform the QuadraticCurve object to aPathobject with the same shape.Rectangle.toPath()RoundedRectangle.toPath()Methods in org.eclipse.gef.geometry.planar with parameters of type PathModifier and TypeMethodDescriptionstatic PathUnions the two specifiedPathsstatic PathPath.exclusiveOr(Path pa, Path pb) Computes the area covered by the first or the second but not both given areas.static PathIntersects the given areas.static PathSubtracts the second given area from the first given area.