mxGraph
|
Implements a 2-dimensional point with double precision coordinates. More...
Public Member Functions | |
mxPoint () | |
Constructs a new point at (0, 0). More... | |
mxPoint (Point point) | |
Constructs a new point at the location of the given point. More... | |
mxPoint (mxPoint point) | |
Constructs a new point at the location of the given point. More... | |
mxPoint (double x, double y) | |
Constructs a new point at (x, y). More... | |
Point | GetPoint () |
Returns the coordinates as a new point. More... | |
new Boolean | Equals (Object obj) |
Returns true if the given object equals this point. More... | |
mxPoint | Clone () |
Returns a new instance of the same point. More... | |
Protected Attributes | |
double | x |
Holds the x-coordinate of the point. Default is 0. More... | |
double | y |
Holds the y-coordinate of the point. Default is 0. More... | |
Properties | |
double | X [get, set] |
Sets or returns the x-coordinate of the point. More... | |
double | Y [get, set] |
Sets or returns the y-coordinate of the point. More... | |
Implements a 2-dimensional point with double precision coordinates.
|
inline |
Constructs a new point at (0, 0).
|
inline |
Constructs a new point at the location of the given point.
point | Point that specifies the location. |
|
inline |
Constructs a new point at the location of the given point.
point | Point that specifies the location. |
|
inline |
Constructs a new point at (x, y).
x | X-coordinate of the point to be created. |
y | Y-coordinate of the point to be created. |
|
inline |
Returns a new instance of the same point.
Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().
|
inline |
Returns true if the given object equals this point.
|
inline |
Returns the coordinates as a new point.
|
protected |
Holds the x-coordinate of the point. Default is 0.
|
protected |
Holds the y-coordinate of the point. Default is 0.
|
getset |
Sets or returns the x-coordinate of the point.
Referenced by com.mxgraph.mxGraphViewImageReader.CreateCanvas(), com.mxgraph.mxGdiCanvas2D.CurveTo(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxUtils.GetBoundingBox(), com.mxgraph.mxGraph.GetConnectionPoint(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxUtils.GetRotatedPoint(), com.mxgraph.mxGdiCanvas2D.LineTo(), com.mxgraph.mxGdiCanvas2D.QuadTo(), com.mxgraph.mxGraphView.TransformControlPoint(), com.mxgraph.mxGraphView.UpdateCellState(), com.mxgraph.mxGraphView.UpdateEdgeBounds(), and com.mxgraph.mxGraphView.UpdateFixedTerminalPoint().
|
getset |
Sets or returns the y-coordinate of the point.
Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxUtils.GetBoundingBox(), com.mxgraph.mxGraph.GetConnectionPoint(), com.mxgraph.mxUtils.GetRotatedPoint(), com.mxgraph.mxGraphView.TransformControlPoint(), com.mxgraph.mxGraphView.UpdateCellState(), com.mxgraph.mxGraphView.UpdateEdgeBounds(), and com.mxgraph.mxGraphView.UpdateFixedTerminalPoint().