FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. More...
Public Member Functions | |
ImageCanvasFactory (mxGdiCanvas graphicsCanvas, Color?background, bool antiAlias) | |
Constructs a new image canvas factors. | |
override mxICanvas | CreateCanvas (int width, int height) |
Returns a new canvas for the given dimension. | |
Protected Attributes | |
mxGdiCanvas | graphicsCanvas |
Holds the graphics canvas to be used for painting. | |
Color | background |
Specifies the background color. | |
bool | antiAlias |
Specifies if antialiasing should be enabled. |
FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.
com::mxgraph::mxCellRenderer::ImageCanvasFactory::ImageCanvasFactory | ( | mxGdiCanvas | graphicsCanvas, | |
Color? | background, | |||
bool | antiAlias | |||
) | [inline] |
Constructs a new image canvas factors.
graphicsCanvas | Specifies the graphics canvas for painting. | |
background | Specifies the background color of the image. | |
antiAlias | Specifies if antialiasing should be enabled. |
override mxICanvas com::mxgraph::mxCellRenderer::ImageCanvasFactory::CreateCanvas | ( | int | width, | |
int | height | |||
) | [inline, virtual] |
Returns a new canvas for the given dimension.
Implements com::mxgraph::mxCellRenderer::CanvasFactory.
bool com::mxgraph::mxCellRenderer::ImageCanvasFactory::antiAlias [protected] |
Specifies if antialiasing should be enabled.
Color com::mxgraph::mxCellRenderer::ImageCanvasFactory::background [protected] |
Specifies the background color.
Holds the graphics canvas to be used for painting.