Skip to contents

A vector of vertices connected by lines.

Super classes

jointjs_cell -> jointjs_element -> jointjs_path

Methods

Inherited methods


jointjs_path$new()

Initialise the object

Usage

jointjs_path$new(refD, ...)

Arguments

refD

A character string that is used to set the d attribute of an SVG path element.

...

Arguments passed to parent class initialiser


jointjs_path$clone()

The objects of this class are cloneable with this method.

Usage

jointjs_path$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

jointjs_path$new('M 0 5 10 0 C 20 0 20 20 10 20 L 0 15 Z')
#> <jointjs_path>
#>   Inherits from: <jointjs_element>
#>   Public:
#>     clone: function (deep = FALSE) 
#>     get_list: function () 
#>     initialize: function (refD, ...) 
#>     set_attrs: function (...) 
#>     set_background: function (fill, stroke, strokeWidth, ...) 
#>     set_body: function (fill, stroke, strokeWidth, magnet, ...) 
#>     set_bodyText: function (text, color, fontFamily, fontSize, ...) 
#>     set_border: function (fill, stroke, strokeWidth, ...) 
#>     set_header: function (fill, stroke, strokeWidth, ...) 
#>     set_headerText: function (text, color, fontFamily, fontSize, ...) 
#>     set_image: function (href, ...) 
#>     set_label: function (text, color, fontFamily, fontSize, ...) 
#>     set_line: function (stroke, strokeWidth, ...) 
#>     set_outline: function (stroke, strokeWidth, ...) 
#>     set_position: function (x, y) 
#>     set_shadow: function (stroke, strokeWidth, ...) 
#>     set_top: function (fill, stroke, strokeWidth, ...) 
#>     set_wrapper: function (stroke, strokeWidth, ...) 
#>   Private:
#>     angle: 0
#>     attrs: list
#>     id: ec1d6ada44bc15ee
#>     position: list
#>     size: list
#>     source: list
#>     target: list
#>     type: standard.Path
#>     z: 1