LayerDecoration
Description
Represents a decoration that applies to every marker on a given layer. Created via TextEditor::decorateMarkerLayer.
API documentation
All methods
::destroy()
Destroys the decoration.
::isDestroyed()
Determine whether this decoration is destroyed.
Return values
-
Returns a Boolean.
::getProperties()
Get this decoration's properties.
Return values
-
Returns an Object.
::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 Marker for which to override properties. |
properties
|
An Object containing properties to apply to this marker. Pass |