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.mxCellState.Clone(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxGeometry.mxGeometry(), and com.mxgraph.mxUtils.TranslatePoints().
|
inline |
Returns true if the given object equals this point.
References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.
|
inline |
Returns the coordinates as a new point.
|
protected |
Holds the x-coordinate of the point. Default is 0.
Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().
|
protected |
Holds the y-coordinate of the point. Default is 0.
Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().
|
getset |
Sets or returns the x-coordinate of the point.
Referenced by com.mxgraph.mxStencil.ComputeAspect(), com.mxgraph.mxGraphViewImageReader.CreateCanvas(), com.mxgraph.mxGdiCanvas2D.CurveTo(), com.mxgraph.mxStencil.DrawElement(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxStencil.DrawShadow(), com.mxgraph.mxPoint.Equals(), com.mxgraph.mxRectangle.Equals(), com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxUtils.GetBoundingBox(), com.mxgraph.mxGraph.GetConnectionPoint(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxGraphModel.GetOrigin(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxUtils.GetRotatedPoint(), com.mxgraph.mxGdiCanvas2D.LineTo(), com.mxgraph.mxStencil.PaintShape(), com.mxgraph.mxGraphViewReader.ParseState(), com.mxgraph.mxGdiCanvas2D.QuadTo(), com.mxgraph.mxGraphView.TransformControlPoint(), com.mxgraph.mxGeometry.Translate(), com.mxgraph.mxUtils.TranslatePoints(), com.mxgraph.mxGraphView.UpdateBoundingBox(), com.mxgraph.mxGraphView.UpdateCellState(), com.mxgraph.mxGraphView.UpdateEdgeBounds(), com.mxgraph.mxGraphModel.UpdateEdgeParent(), com.mxgraph.mxGraphView.UpdateFixedTerminalPoint(), and com.mxgraph.mxGraphView.UpdateVertexLabelOffset().
|
getset |
Sets or returns the y-coordinate of the point.
Referenced by com.mxgraph.mxStencil.ComputeAspect(), com.mxgraph.mxGraphViewImageReader.CreateCanvas(), com.mxgraph.mxGdiCanvas2D.CurveTo(), com.mxgraph.mxStencil.DrawElement(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxStencil.DrawShadow(), com.mxgraph.mxPoint.Equals(), com.mxgraph.mxRectangle.Equals(), com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxUtils.GetBoundingBox(), com.mxgraph.mxGraph.GetConnectionPoint(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxGraphModel.GetOrigin(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxUtils.GetRotatedPoint(), com.mxgraph.mxGdiCanvas2D.LineTo(), com.mxgraph.mxStencil.PaintShape(), com.mxgraph.mxGraphViewReader.ParseState(), com.mxgraph.mxGdiCanvas2D.QuadTo(), com.mxgraph.mxGraphView.TransformControlPoint(), com.mxgraph.mxGeometry.Translate(), com.mxgraph.mxUtils.TranslatePoints(), com.mxgraph.mxGraphView.UpdateBoundingBox(), com.mxgraph.mxGraphView.UpdateCellState(), com.mxgraph.mxGraphView.UpdateEdgeBounds(), com.mxgraph.mxGraphModel.UpdateEdgeParent(), com.mxgraph.mxGraphView.UpdateFixedTerminalPoint(), and com.mxgraph.mxGraphView.UpdateVertexLabelOffset().