|
mxGraph
|
Defines the requirements for a canvas that paints the vertices and edges of a graph. More...
Public Member Functions | |
| Object | DrawCell (mxCellState state) |
| Draws the given cell. More... | |
| Object | DrawLabel (string text, mxCellState state, bool html) |
| Draws the given label. More... | |
Properties | |
| Point | Translate [get, set] |
| Sets or returns the user object of the cell. More... | |
| double | Scale [get, set] |
| Sets or returns the user object of the cell. More... | |
Defines the requirements for a canvas that paints the vertices and edges of a graph.
| Object com.mxgraph.mxICanvas.DrawCell | ( | mxCellState | state | ) |
Draws the given cell.
| state | State of the cell to be painted. |
Implemented in com.mxgraph.mxImageCanvas, com.mxgraph.mxGdiCanvas, and com.mxgraph.mxBasicCanvas.
Referenced by com.mxgraph.mxGraph.DrawState(), and com.mxgraph.mxGraphViewReader.ParseElement().
| Object com.mxgraph.mxICanvas.DrawLabel | ( | string | text, |
| mxCellState | state, | ||
| bool | html | ||
| ) |
Draws the given label.
| text | String that represents the label. |
| state | State of the cell whose label is to be painted. |
| html | Specifies if the label contains HTML markup. |
Implemented in com.mxgraph.mxGdiCanvas, com.mxgraph.mxImageCanvas, and com.mxgraph.mxBasicCanvas.
Referenced by com.mxgraph.mxGraph.DrawState(), and com.mxgraph.mxGraphViewReader.ParseElement().
|
getset |
Sets or returns the user object of the cell.
Referenced by com.mxgraph.mxCellRenderer.DrawCells(), and com.mxgraph.mxGraphViewReader.ParseElement().
|
getset |
Sets or returns the user object of the cell.
Referenced by com.mxgraph.mxCellRenderer.DrawCells(), and com.mxgraph.mxGraph.DrawState().
1.8.13