Table of Contents

Class LayerBrushProvider

Namespace
Artemis.Core.LayerBrushes
Assembly
Artemis.Core.dll

Allows you to create one or more LayerBrush<T>s usable by profile layers.

public abstract class LayerBrushProvider : PluginFeature, IDisposable
Inheritance
object
CorePropertyChanged
LayerBrushProvider
Implements
Inherited Members

Constructors

LayerBrushProvider()

Allows you to register one or more LayerBrush<T>s usable by profile layers.

protected LayerBrushProvider()

Properties

LayerBrushDescriptors

A read-only collection of all layer brushes added with RegisterLayerBrushDescriptor<T>(string, string, string)

public ReadOnlyCollection<LayerBrushDescriptor> LayerBrushDescriptors { get; }

Property Value

ReadOnlyCollection<LayerBrushDescriptor>

Methods

RegisterLayerBrushDescriptor<T>(string, string, string)

Registers a layer brush descriptor for a given layer brush, so that it appears in the UI.

Note: You do not need to manually remove these on disable

protected void RegisterLayerBrushDescriptor<T>(string displayName, string description, string icon) where T : BaseLayerBrush

Parameters

displayName string

The name to display in the UI

description string

The description to display in the UI

icon string

The Material icon to display in the UI, a full reference can be found here

Type Parameters

T

The type of the layer brush you wish to register