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. | |
Object | DrawLabel (string text, mxCellState state, bool html) |
Draws the given label. | |
Properties | |
Point | Translate [get, set] |
Sets or returns the user object of the cell. | |
double | Scale [get, set] |
Sets or returns the user object of the cell. |
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.
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.
double com.mxgraph.mxICanvas.Scale [get, set] |
Sets or returns the user object of the cell.
Implemented in com.mxgraph.mxImageCanvas, and com.mxgraph.mxBasicCanvas.
Point com.mxgraph.mxICanvas.Translate [get, set] |
Sets or returns the user object of the cell.
Implemented in com.mxgraph.mxImageCanvas, and com.mxgraph.mxBasicCanvas.