graphics/js/VMLDrawing.js:23
VML implementation of the Drawing class.
VMLDrawing is not intended to be used directly. Instead, use the Drawing class.
If the browser lacks SVG and Canvas
capabilities, the Drawing class will point to the VMLDrawing class.
_addToPathval
Defined in
graphics/js/VMLDrawing.js:76
Concatanates the path.
val
String
The value to add to the path string.
_curveToargs
relative
Defined in
graphics/js/VMLDrawing.js:146
Implements curveTo methods.
_lineToargs
relative
Defined in
graphics/js/VMLDrawing.js:511
Implements lineTo methods.
_moveToargs
relative
Defined in
graphics/js/VMLDrawing.js:587
Implements moveTo methods.
_quadraticCurveToargs
relative
Defined in
graphics/js/VMLDrawing.js:250
Implements quadraticCurveTo methods.
_roundThe
Defined in
graphics/js/VMLDrawing.js:63
Rounds dimensions and position values based on the coordinate space.
The
Number
value for rounding
Number
_setCurveBoundingBoxArray
Number
Number
Defined in
graphics/js/VMLDrawing.js:726
Calculates the bounding box for a curve
_trackSizew
h
Defined in
graphics/js/VMLDrawing.js:761
Updates the size of the graphics object
curveTocp1x
cp1y
cp2x
cp2y
x
y
Defined in
graphics/js/VMLDrawing.js:112
Draws a bezier curve.
drawCirclex
y
r
Defined in
graphics/js/VMLDrawing.js:340
Draws a circle. Used internally by CanvasCircle class.
drawDiamondx
y
width
height
Defined in
graphics/js/VMLDrawing.js:415
Draws a diamond.
drawEllipsex
y
w
h
Defined in
graphics/js/VMLDrawing.js:376
Draws an ellipse.
drawRectx
y
w
h
ew
eh
Defined in
graphics/js/VMLDrawing.js:315
Draws a rectangle with rounded corners.
drawWedgex
y
startAngle
arc
radius
yRadius
Defined in
graphics/js/VMLDrawing.js:438
Draws a wedge.
x
Number
x-coordinate of the wedge's center point
y
Number
y-coordinate of the wedge's center point
startAngle
Number
starting angle in degrees
arc
Number
sweep of the wedge. Negative values draw clockwise.
radius
Number
radius of wedge. If [optional] yRadius is defined, then radius is the x radius.
yRadius
Number
[optional] y radius for wedge.
getBezierDataArray
Number
Defined in
graphics/js/VMLDrawing.js:698
Returns the points on a curve
Array
lineTopoint1
point2
Defined in
graphics/js/VMLDrawing.js:483
Draws a line segment from the current drawing position to the specified x and y coordinates.
moveTox
y
Defined in
graphics/js/VMLDrawing.js:559
Moves the current drawing position to specified x and y coordinates.
quadraticCurveTocpx
cpy
x
y
Defined in
graphics/js/VMLDrawing.js:220
Draws a quadratic bezier curve.
relativeCurveTocp1x
cp1y
cp2x
cp2y
x
y
Defined in
graphics/js/VMLDrawing.js:129
Draws a bezier curve.
relativeLineTopoint1
point2
Defined in
graphics/js/VMLDrawing.js:497
Draws a line segment using the current line style from the current drawing position to the relative x and y coordinates.
relativeMoveTox
y
Defined in
graphics/js/VMLDrawing.js:573
Moves the current drawing position relative to specified x and y coordinates.
relativeQuadraticCurveTocpx
cpy
x
y
Defined in
graphics/js/VMLDrawing.js:235
Draws a quadratic bezier curve relative to the current position.
_coordSpaceMultiplier
Defined in
graphics/js/VMLDrawing.js:54
Value for rounding up to coordsize
_currentY
Defined in
graphics/js/VMLDrawing.js:103
Current y position of the drqwing.