LayerDecoration essential
Represents a decoration that applies to every marker on a given layer. Created via TextEditor::decorateMarkerLayer.
Methods
::destroy()
Destroys the decoration.
::setProperties(newProperties)
Set this decoration's properties.
Argument | Description |
---|---|
newProperties |
See TextEditor::decorateMarker for more information on the properties. The |
::setPropertiesForMarker(marker, properties)
Override the decoration properties for a specific marker.
Argument | Description |
---|---|
marker |
The DisplayMarker or |
properties |
An Object containing properties to apply to this marker. Pass |