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
-
objectCorePropertyChangedLayerBrushProvider
- 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
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
displayNamestringThe name to display in the UI
descriptionstringThe description to display in the UI
iconstringThe Material icon to display in the UI, a full reference can be found here
Type Parameters
TThe type of the layer brush you wish to register