documentationfor yFiles for HTML 2.6

DashStyle

The style of dashing a Stroke defined by its dashes and offset.

Inheritance Hierarchy
DashStyle

Remarks

All of these values are in terms of multiples of the thickness of a Stroke. This is different from the corresponding properties of a SVG stroke.

This is a convertible type that can be used with the following notation(s) in parameter lists, parameter objects or setters.

CSS border-style strings are converted to DashStyles. For example:

'solid'
'dash'
'dot'
'dash-dot'
'dash-dot-dot'
'5 10'
'5, 10'

It is also possible to specify an Array<Object> or number to define the pattern of dashes:

[5, 10]
10

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.DashStyle

Constructors

Properties

Methods

Constants

Static Methods