Holds the operator for closing curves.
Contains the string used for bezier curves.
Holds the last x coordinate.
Holds the last y coordinate.
Contains the string used for moving in paths.
Contains the string used for moving in paths.
Holds the current DOM node.
Holds the current path as an array.
Boolean value that specifies if events should be handled.
Contains the string used for quadratic paths.
Reference to the container for the SVG content.
Switch for rotation of HTML.
Background color for rotated HTML. This can be set to eg. white to improve rendering of rotated text in VML for IE9.
Holds the current state.
Stack of states.
Specifies if text output should be enabled.
Specifies the scale used to draw VML shapes.
Adds the current node to the root.
Adds the given operation to the path.
Adds the given arc to the current path. This is a synthetic operation that is broken down into curves.
Extends superclass to create path.
Closes the current path.
Note: the mxGraph JS code declares arguments (x1: number, y1: number, x2: number, y2: number, x3: number, y3: number) which are not used in the abstract implementation. The mxXmlCanvas2D JS implementation overrides this method without arguments. Decision is then taken to remove them here.
Creates the innermost element that contains the HTML text.
Creates the given element using the document.
Creates a fill for the current state.
Sets the glass gradient.
Creates a shadow for the given node.
Creates the fill for the shadow.
Creates the stroke for the shadow.
Creates the state of the this canvas.
Creates a fill for the current state.
Creates a transparent fill.
Create a new mxUrlConverter and returns it.
Creates a new element using createElement and prefixes the given name with mxClient.VML_PREFIX.
Adds a bezier curve to the current path.
Sets the current path to an ellipse.
Empty implementation for backwards compatibility. This will be removed.
Fills the current path.
Fills and paints the outline of the current path.
Rounds all numbers to integers.
Returns a VML dash pattern for the current dashPattern. See http://msdn.microsoft.com/en-us/library/bb264085(v=vs.85).aspx
Paints an image.
Draws a line to the given coordinates. Uses moveTo with the op argument.
Moves the current path the given coordinates.
Paints the outline of the current path.
Replaces quadratic curve with bezier curve in VML.
Function: rect
Sets the current path to a rectangle.
Resets the state of this canvas.
Restores the current state.
Sets the rotation of the canvas. Note that rotation cannot be concatenated.
Rotates the given point and returns the result as an
Sets the current path to a rounded rectangle.
Saves the current state.
Scales the current state.
Sets the current alpha.
Sets the current dash pattern.
Enables or disables dashed lines.
specifies whether or not the lines are dashed
specifies whether or not the lines use fix dash
Sets the current solid fill alpha.
Sets the current fill color.
Sets the current font color.
Sets the current font color.
Sets the current font color.
Sets the current font family.
Sets the current font size.
Sets the current font style.
Sets the current gradient.
Sets the current line cap.
Sets the current line join.
Sets the current link. Hook for subclassers.
Sets the current miter limit.
Enables or disables and configures the current shadow.
Enables or disables and configures the current shadow.
Enables or disables and configures the current shadow.
Enables or disables and configures the current shadow.
Sets the current stroke alpha.
Sets the current stroke color.
Sets the current stroke width.
Paints the outline of the current path.
Paints the given text. Possible values for format are empty string for plain text and html for HTML markup. Clipping, text background and border are not supported for plain text in VML.
Translates the current state.
Generated using TypeDoc
Implements a canvas to be used for rendering VML. Here is an example of implementing a fallback for SVG images which are not supported in VML-based browsers.
To disable anti-aliasing in the output, use the following code.
Note that there is a known issue in VML where gradients are painted using the outer bounding box of rotated shapes, not the actual bounds of the shape. See also text for plain text label restrictions in shapes for VML.