documentationfor yFiles for HTML 2.6

Represents any object which fills an area.

Inheritance Hierarchy
Implemented Interfaces

Remarks

The fill that is defined by instances of this type can be applied to an SVG element using either the static helper setFill or the instance method applyTo.

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

CSS color strings are converted to SolidColorFills. For example:

'blue'
'#369'
'#336699'
'rgb(51, 102, 153)'
'rgba(51, 102, 153, 0.5)'
'hsl(225, 98%, 60%)'
'hsla(225, 98%, 60%, 0.5)'

Type Details

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

See Also

Methods

Constants

Static Methods