Skip to main content

Class: Brush

(abstract) Rendering.Brush(name)

Generic rendering brush definition

Constructor

(abstract) new Brush(name)

Parameters:
NameTypeDescription
nameURIBrush identifier
Properties:
NameTypeDescription
idURIname alias
uriURIname alias

Methods

(abstract, static) onInvalidName(name) → {URI}

Provides migration for brush names which are not valid URIs

Parameters:
NameTypeDescription
namestringInvalid brush identifier
Returns:

name Valid brush identifier as URI

Type

URI

Home