Skip to contents

A cylinder with a vertical base and an elliptical top.

Super classes

jointjs_cell -> jointjs_element -> jointjs_cylinder

Methods

Inherited methods


jointjs_cylinder$new()

Initialise the object

Usage

Arguments

...

Arguments passed to parent class initialiser


jointjs_cylinder$set_body()

Set body attributes for the element.

Usage

jointjs_cylinder$set_body(fill, stroke, strokeWidth, magnet, topRy, ...)

Arguments

fill

Fill colour

stroke

Stroke colour

strokeWidth

Width of the stroke line

magnet

When set to TRUE, the element can be used as source or target for a jointjs_link.

topRy

The vertical radius of the exposed area of the cylinder base, as an absolute value or a percentage.

...

Arguments passed to parent class initialiser


jointjs_cylinder$clone()

The objects of this class are cloneable with this method.

Usage

jointjs_cylinder$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.