mxGraph
Public Member Functions | Protected Attributes | List of all members
com.mxgraph.mxCellRenderer.ImageCanvasFactory Class Reference

FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. More...

Inheritance diagram for com.mxgraph.mxCellRenderer.ImageCanvasFactory:
com.mxgraph.mxCellRenderer.CanvasFactory

Public Member Functions

 ImageCanvasFactory (mxGdiCanvas graphicsCanvas, Color? background, bool antiAlias)
 Constructs a new image canvas factors. More...
 
override mxICanvas CreateCanvas (int width, int height)
 Returns a new canvas for the given dimension. More...
 

Protected Attributes

mxGdiCanvas graphicsCanvas
 Holds the graphics canvas to be used for painting. More...
 
Color background
 Specifies the background color. More...
 
bool antiAlias
 Specifies if antialiasing should be enabled. More...
 

Detailed Description

FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.

Constructor & Destructor Documentation

◆ ImageCanvasFactory()

com.mxgraph.mxCellRenderer.ImageCanvasFactory.ImageCanvasFactory ( mxGdiCanvas  graphicsCanvas,
Color?  background,
bool  antiAlias 
)
inline

Constructs a new image canvas factors.

Parameters
graphicsCanvasSpecifies the graphics canvas for painting.
backgroundSpecifies the background color of the image.
antiAliasSpecifies if antialiasing should be enabled.

Member Function Documentation

◆ CreateCanvas()

override mxICanvas com.mxgraph.mxCellRenderer.ImageCanvasFactory.CreateCanvas ( int  width,
int  height 
)
inlinevirtual

Returns a new canvas for the given dimension.

Implements com.mxgraph.mxCellRenderer.CanvasFactory.

Member Data Documentation

◆ antiAlias

bool com.mxgraph.mxCellRenderer.ImageCanvasFactory.antiAlias
protected

Specifies if antialiasing should be enabled.

◆ background

Color com.mxgraph.mxCellRenderer.ImageCanvasFactory.background
protected

Specifies the background color.

◆ graphicsCanvas

mxGdiCanvas com.mxgraph.mxCellRenderer.ImageCanvasFactory.graphicsCanvas
protected

Holds the graphics canvas to be used for painting.


The documentation for this class was generated from the following file: