A converter that renders display XML data onto a GDI canvas. More...
Public Member Functions | |
mxGraphViewImageReader (XmlReader reader) | |
Constructs a new GDI reader for the given display XML reader. | |
mxGraphViewImageReader (XmlReader reader, Color?background) | |
Constructs a new GDI reader for the given display XML reader. | |
mxGraphViewImageReader (XmlReader reader, Color?background, int border) | |
Constructs a new GDI reader for the given display XML reader. | |
mxGraphViewImageReader (XmlReader reader, Color?background, int border, bool antiAlias) | |
Constructs a new GDI reader for the given display XML reader. | |
mxGraphViewImageReader (XmlReader reader, Color?background, int border, bool antiAlias, bool cropping) | |
Constructs a new GDI reader for the given display XML reader. | |
override mxICanvas | CreateCanvas (Dictionary< string, Object > attrs) |
Returns the canvas to be used for rendering. | |
Static Public Member Functions | |
static Image | Convert (mxGraphViewImageReader viewReader) |
Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias);. | |
Protected Attributes | |
Color | background |
Specifies the background color. | |
int | border |
Specifies the border size. Default is 0. | |
bool | antiAlias |
Default is true. | |
bool | cropping |
Default is true. | |
mxRectangle | clip |
Specifies the optional clipping rectangle. | |
Properties | |
Color | Background [get, set] |
Accessors for the background property. | |
int | Border [get, set] |
Accessors for the border property. | |
bool | AntiAlias [get, set] |
Accessors for the background property. | |
bool | Cropping [get, set] |
Accessors for the cropping property. | |
mxRectangle | Clip [get, set] |
Accessors for the clip property. |
A converter that renders display XML data onto a GDI canvas.
com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader | ( | XmlReader | reader | ) | [inline] |
Constructs a new GDI reader for the given display XML reader.
reader |
com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader | ( | XmlReader | reader, | |
Color? | background | |||
) | [inline] |
Constructs a new GDI reader for the given display XML reader.
com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader | ( | XmlReader | reader, | |
Color? | background, | |||
int | border | |||
) | [inline] |
Constructs a new GDI reader for the given display XML reader.
com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader | ( | XmlReader | reader, | |
Color? | background, | |||
int | border, | |||
bool | antiAlias | |||
) | [inline] |
Constructs a new GDI reader for the given display XML reader.
com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader | ( | XmlReader | reader, | |
Color? | background, | |||
int | border, | |||
bool | antiAlias, | |||
bool | cropping | |||
) | [inline] |
Constructs a new GDI reader for the given display XML reader.
static Image com::mxgraph::mxGraphViewImageReader::Convert | ( | mxGraphViewImageReader | viewReader | ) | [inline, static] |
Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias);.
viewReader | Reader that contains the display XML. |
override mxICanvas com::mxgraph::mxGraphViewImageReader::CreateCanvas | ( | Dictionary< string, Object > | attrs | ) | [inline, virtual] |
Returns the canvas to be used for rendering.
attrs | Specifies the attributes of the new canvas. |
Implements com::mxgraph::mxGraphViewReader.
bool com::mxgraph::mxGraphViewImageReader::antiAlias [protected] |
Default is true.
Color com::mxgraph::mxGraphViewImageReader::background [protected] |
Specifies the background color.
int com::mxgraph::mxGraphViewImageReader::border [protected] |
Specifies the border size. Default is 0.
Specifies the optional clipping rectangle.
bool com::mxgraph::mxGraphViewImageReader::cropping [protected] |
Default is true.
bool com::mxgraph::mxGraphViewImageReader::AntiAlias [get, set] |
Accessors for the background property.
Color com::mxgraph::mxGraphViewImageReader::Background [get, set] |
Accessors for the background property.
int com::mxgraph::mxGraphViewImageReader::Border [get, set] |
Accessors for the border property.
mxRectangle com::mxgraph::mxGraphViewImageReader::Clip [get, set] |
Accessors for the clip property.
bool com::mxgraph::mxGraphViewImageReader::Cropping [get, set] |
Accessors for the cropping property.