Describes a shape that can be created on the canvas.
Arrowhead on the end of the path. The format for the string is
Possible value for
Possible value for
Possible values for
Comma or space separated values:
CSS type of the cursor.
Horizontal coordinate of the origin of the circle.
Vertical coordinate of the origin of the circle.
Colour, gradient or image.
Opacity of the fill color.
The combined font family and font size, e.g.,
Name of the font family to use.
Font size in pixels.
Font weight as a number, usually between
900. Can also be
The height of e.g. a rectangle in pixels.
URL, if specified element behaves as hyperlink.
Opacity of the element, usually between
An SVG path string, e.g.,
M 10 10 L 20 10 Z.
Radius of the circle in pixels.
Horizontal half-axis of the ellipse in pixels.
Vertical half-axis of the ellipse in pixels.
Image URL, only works for RaphaelPaper.image elements.
CSS stroke color.
Controls the pattern of dashes and gaps used to form the shape of a path's stroke.
Specifies the shape to be used at the end of open subpaths when they are stroked, and the shape to be drawn for zero length subpaths whether they are open or closed.
Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.
When two line segments meet at a sharp angle and a value of
arcs has been
stroke-linejoin, it is possible for the join to extend far beyond the thickness of the line
stroking the path. The
stroke-miterlimit imposes a limit on the extent of the line join.
Opacity of the stroke, usually between
Width of the stroke in pixels.
Used with href.
Contents of the text element.
Used to align (start-, middle- or end-alignment) a string of pre-formatted text or auto-wrapped text where
the wrapping area is determined from the
inline-size property relative to a given point.
Will create a tooltip with a given text.
The transform property of this element.
Type of the shape, e.g.,
rect. Could also be a custom plugin shape.
The width of e.g. a rectangle in pixels.
The horizontal x coordinate in pixels.
The vertical y coordinate in pixels.
Generated using TypeDoc