com::mxgraph::mxGraphViewImageReader Class Reference

A converter that renders display XML data onto a GDI canvas. More...

Inheritance diagram for com::mxgraph::mxGraphViewImageReader:
com::mxgraph::mxGraphViewReader

List of all members.

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.

Detailed Description

A converter that renders display XML data onto a GDI canvas.


Constructor & Destructor Documentation

com::mxgraph::mxGraphViewImageReader::mxGraphViewImageReader ( XmlReader  reader  )  [inline]

Constructs a new GDI reader for the given display XML reader.

Parameters:
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.


Member Function Documentation

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);.

Parameters:
viewReader Reader that contains the display XML.
Returns:
Returns an image representing the display XML reader.
override mxICanvas com::mxgraph::mxGraphViewImageReader::CreateCanvas ( Dictionary< string, Object >  attrs  )  [inline, virtual]

Returns the canvas to be used for rendering.

Parameters:
attrs Specifies the attributes of the new canvas.
Returns:
Returns a new canvas.

Implements com::mxgraph::mxGraphViewReader.


Member Data Documentation

Default is true.

Specifies the background color.

Specifies the border size. Default is 0.

Specifies the optional clipping rectangle.

Default is true.


Property Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Dec 18 13:18:35 2012 for mxGraph by  doxygen 1.6.3