Methods in
org.eclipse.draw2d with parameters of type
Point
|
Point
|
XYAnchor.
getLocation
(
Point reference)
Returns the location of this anchor relative to the reference point given in as input.
|
void
|
XYAnchor.
setLocation
(
Point p)
Sets the location of this anchor and notifies all the listeners of the update. |
void
|
Viewport.
setViewLocation
(
Point p)
Sets the location of the Viewport's view to the passed Point. |
void
|
ScrollPane.
scrollTo
(
Point location)
Scrolls the Scrollpane horizontally from its left-most position by location.x pixels
and vertically from its top-most position by location.y pixels. |
void
|
ScalablePolygonShape.
addPoint
(
Point pt)
|
void
|
ScalablePolygonShape.
insertPoint
(
Point pt,
int index)
|
void
|
ScalablePolygonShape.
setStart
(
Point start)
|
void
|
ScalablePolygonShape.
setEnd
(
Point end)
|
void
|
ScalablePolygonShape.
setPoint
(
Point pt,
int index)
|
void
|
RotatableDecoration.
setLocation
(
Point p)
Sets the location of this figure. |
void
|
RotatableDecoration.
setReferencePoint
(
Point p)
Sets the reference point used to determine the rotation angle. |
void
|
PolylineDecoration.
setLocation
(
Point p)
|
void
|
PolylineDecoration.
setReferencePoint
(
Point ref)
|
void
|
PolygonDecoration.
setLocation
(
Point p)
Sets the location of this PolygonDecoration. |
void
|
PolygonDecoration.
setReferencePoint
(
Point ref)
Sets the rotation of this decoration so that the decoration points toward the
given reference point. |
protected
Ray
|
ManhattanConnectionRouter.
getDirection
(
Rectangle r,
Point p)
Returns the direction the point p is in relation to the given rectangle.
|
boolean
|
IFigure.
containsPoint
(
Point p)
Returns true if the Point p is contained within this IFigure's bounds. |
IFigure
|
IFigure.
findFigureAt
(
Point p)
Returns the IFigure at the specified location. |
void
|
IFigure.
setLocation
(
Point p)
Sets the location of this IFigure. |
void
|
Graphics.
drawImage
(Image image,
Point p)
Draws the given image at a point. |
void
|
Graphics.
drawLine
(
Point p1,
Point p2)
|
void
|
Graphics.
drawString
(java.lang.String s,
Point p)
|
void
|
Graphics.
drawText
(java.lang.String s,
Point p)
|
void
|
Graphics.
drawText
(java.lang.String s,
Point p,
int style)
Draws a string using the specified styles. |
void
|
Graphics.
fillString
(java.lang.String s,
Point p)
|
void
|
Graphics.
fillText
(java.lang.String s,
Point p)
|
void
|
Graphics.
translate
(
Point pt)
|
static void
|
FigureUtilities.
paintGrid
(
Graphics g,
IFigure f,
Point origin,
int distanceX,
int distanceY)
Helper method to paint a grid. |
boolean
|
Figure.
containsPoint
(
Point p)
This method is final. |
IFigure
|
Figure.
findFigureAt
(
Point pt)
|
void
|
Figure.
setLocation
(
Point p)
|
Point
|
EllipseAnchor.
getLocation
(
Point reference)
Returns a point on the ellipse (defined by the owner's bounding box) where the
connection should be anchored. |
Point
|
ConnectionAnchor.
getLocation
(
Point reference)
Returns the location where the Connection should be anchored in absolute coordinates.
|
Point
|
ChopboxAnchor.
getLocation
(
Point reference)
Gets a Rectangle from
ChopboxAnchor.getBox() and returns the Point where a line from the
center of the Rectangle to the Point reference intersects the Rectangle. |
void
|
AbstractPointListShape.
addPoint
(
Point pt)
Adds the passed point to this figure. |
void
|
AbstractPointListShape.
insertPoint
(
Point pt,
int index)
Inserts a given point at a specified index in this figure. |
void
|
AbstractPointListShape.
setStart
(
Point start)
Sets the start point of this figure |
void
|
AbstractPointListShape.
setEnd
(
Point end)
Sets the end point of this figure |
void
|
AbstractPointListShape.
setEndpoints
(
Point start,
Point end)
Sets the points at both extremes of this figure |
void
|
AbstractPointListShape.
setPoint
(
Point pt,
int index)
Sets the point at index to the Point pt . |
protected
Rectangle
|
AbstractLocator.
getNewBounds
(
Dimension size,
Point center)
Recalculate the location of the figure according to its desired position relative to
the center point. |