A Cylinder Element
jointjs_cylinder.RdA cylinder with a vertical base and an elliptical top.
Super classes
jointjs_cell -> jointjs_element -> jointjs_cylinder
Methods
Inherited methods
jointjs_cell$set_attrs()jointjs_element$get_list()jointjs_element$set_background()jointjs_element$set_bodyText()jointjs_element$set_border()jointjs_element$set_header()jointjs_element$set_headerText()jointjs_element$set_image()jointjs_element$set_label()jointjs_element$set_line()jointjs_element$set_outline()jointjs_element$set_position()jointjs_element$set_shadow()jointjs_element$set_top()jointjs_element$set_wrapper()
jointjs_cylinder$set_body()
Set body attributes for the element.
Arguments
fillFill colour
strokeStroke colour
strokeWidthWidth of the stroke line
magnetWhen set to
TRUE, the element can be used as source or target for a jointjs_link.topRyThe vertical radius of the exposed area of the cylinder base, as an absolute value or a percentage.
...Arguments passed to parent class initialiser