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::mxBasicCanvas, com::mxgraph::mxGdiCanvas, and com::mxgraph::mxImageCanvas.
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::mxBasicCanvas, com::mxgraph::mxGdiCanvas, and com::mxgraph::mxImageCanvas.
double com::mxgraph::mxICanvas::Scale [get, set] |
Sets or returns the user object of the cell.
Implemented in com::mxgraph::mxBasicCanvas, and com::mxgraph::mxImageCanvas.
Point com::mxgraph::mxICanvas::Translate [get, set] |
Sets or returns the user object of the cell.
Implemented in com::mxgraph::mxBasicCanvas, and com::mxgraph::mxImageCanvas.