Staticapproximateget approximate line height from css font definition currently only supports px and pt
StaticclipStaticdrawdraw activity indicator
initially should be zero; later pass in return value when drawing again
StaticdrawDraws a border using the specified object style configuration
The top left x coordinate
The top left y coordinate
The width of the rectangle
The height of the rectangle
Optionaloutside: booleanOptionalmaxX: numberOptionalmaxY: numberStaticdrawdraw an ellipse
the center x coordinate
the center y coordinate
Staticdrawdraw a simple triangular arrow
The top left x coordinate
The top left y coordinate
Optionalwidth: numberOptionalheight: numberOptionalright: booleanshould the arrow be facing right or left?
StaticdrawStaticdrawdraw line with specified style
Optionalshift: numberStaticdrawDraws a rounded rectangle using the current state of the canvas. If you omit the last three params, it will draw a rectangle outline with a 5 pixel border radius
The top left x coordinate
The top left y coordinate
The width of the rectangle
The height of the rectangle
Optionalradius: numberThe corner radius. Defaults to 5;
Optionalfill: booleanWhether to fill the rectangle. Defaults to false.
Optionalstroke: booleanWhether to stroke the rectangle. Defaults to true.
Staticdrawdraw a tooltip with originating from the supplied rectangle,
upper left x coordinate
upper left y coordinate
width of rectangle
height of rectangle
optional bounds limiting the area to draw in
StaticdrawStaticdrawdraw a simple triangular arrow
The top left x coordinate
The top left y coordinate
Optionalwidth: numberOptionalheight: numberOptionalup: booleanshould the arrow be facing up or down?
StaticdrawStaticfillOptionalcalculateOnly: booleanStaticlineStaticpixelretrieve pixel ratio zoom level is taken into account on most browsers
a collection of graphics and drawing related utility functions used by the chart classes