Uses of Class
org.eclipse.draw2d.geometry.PointList
Packages that use PointList
Package
Description
Primary package containing general interfaces and implementation classes.
Types representing or manipulating geometric values, such as Points, Dimensions, etc.
Stand-alone algorithms related to Graph Drawing.
-
Uses of PointList in org.eclipse.draw2d
Fields in org.eclipse.draw2d declared as PointListModifier and TypeFieldDescriptionstatic final PointList
PolygonDecoration.INVERTED_TRIANGLE_TIP
Template for a triangle that points to the left when the rotation angle is 0protected PointList
Triangle.triangle
The points of the triangle.static final PointList
PolygonDecoration.TRIANGLE_TIP
Template for a triangle that points to the right when the rotation angle is 0static final PointList
PolylineDecoration.TRIANGLE_TIP
A triangle templateMethods in org.eclipse.draw2d that return PointListModifier and TypeMethodDescriptionprotected PointList
ViewportAwareConnectionLayerClippingStrategy.getAbsolutePointsAsCopy
(Connection connection) Returns the connection's points in absolute coordinates.AbstractPointListShape.getPoints()
Returns the points in this figure by reference.Connection.getPoints()
Returns the PointList containing the Points that make up this Connection.PolygonDecoration.getPoints()
Returns the points in the PolygonDecoration as a PointList.PolylineDecoration.getPoints()
ScalablePolygonShape.getScaledPoints()
Methods in org.eclipse.draw2d with parameters of type PointListModifier and TypeMethodDescriptionabstract void
Graphics.drawPolygon
(PointList points) Draws a closed polygon defined by the givenPointList
containing the vertices.void
ScaledGraphics.drawPolygon
(PointList points) void
SWTGraphics.drawPolygon
(PointList points) abstract void
Graphics.drawPolyline
(PointList points) Draws a polyline defined by the givenPointList
containing the vertices.void
ScaledGraphics.drawPolyline
(PointList points) void
SWTGraphics.drawPolyline
(PointList points) abstract void
Graphics.fillPolygon
(PointList points) Fills a closed polygon defined by the givenPointList
containing the vertices.void
ScaledGraphics.fillPolygon
(PointList points) void
SWTGraphics.fillPolygon
(PointList points) protected Point
ConnectionLocator.getLocation
(PointList points) Returns a point from the passed PointList, dependent on ConnectionLocator's alignment.protected abstract void
AutomaticRouter.handleCollision
(PointList list, int index) Handles collisions between 2 or more Connections.protected void
FanRouter.handleCollision
(PointList points, int index) Modifies a given PointList that collides with some other PointList.void
Sets the list of points to be used by this figure.void
Sets the PointList containing the Points that make up this Connection.void
Sets the list of points to be used by this polyline connection.void
void
PolygonDecoration.setTemplate
(PointList pl) Sets the PolygonDecorations point template to the passed PointList.void
PolylineDecoration.setTemplate
(PointList pl) Sets the PolylineDecoration's point template. -
Uses of PointList in org.eclipse.draw2d.geometry
Methods in org.eclipse.draw2d.geometry that return PointListMethods in org.eclipse.draw2d.geometry with parameters of type PointListModifier and TypeMethodDescriptionvoid
Appends all of the given points to this PointList.static boolean
Geometry.polygonContainsPoint
(PointList points, int x, int y) One simple way of finding whether the point is inside or outside a simple polygon is to test how many times a ray starting from the point intersects the edges of the polygon.static boolean
Geometry.polylineContainsPoint
(PointList points, int x, int y, int tolerance) -
Uses of PointList in org.eclipse.draw2d.graph
Methods in org.eclipse.draw2d.graph that return PointListModifier and TypeMethodDescriptionPath.getBendPoints()
Returns the list of constrained points through which this path must pass ornull
.Edge.getPoints()
Returns the path connecting the edge's source and target.Path.getPoints()
Returns the solution to this path.Methods in org.eclipse.draw2d.graph with parameters of type PointListModifier and TypeMethodDescriptionvoid
Path.setBendPoints
(PointList bendPoints) Sets the list of bend points to the given list and dirties the path.