Class LayerBrushDescriptor
A class that describes a layer brush
Inheritance
LayerBrushDescriptor
Assembly: Artemis.Core.dll
Syntax
public class LayerBrushDescriptor
Properties
Description
The description that is displayed in the UI
Declaration
public string Description { get; }
Property Value
DisplayName
The name that is displayed in the UI
Declaration
public string DisplayName { get; }
Property Value
Icon
The Material icon to display in the UI, a full reference can be found
here
Declaration
public string Icon { get; }
Property Value
LayerBrushType
The type of the layer brush
Declaration
public Type LayerBrushType { get; }
Property Value
Provider
Declaration
public LayerBrushProvider Provider { get; }
Property Value
Methods
CreateInstance(Layer, LayerBrushEntity?)
Creates an instance of the described brush and applies it to the layer
Declaration
public BaseLayerBrush CreateInstance(Layer layer, LayerBrushEntity? entity)
Parameters
Type |
Name |
Description |
Layer |
layer |
|
LayerBrushEntity |
entity |
|
Returns
MatchesLayerBrushReference(LayerBrushReference?)
Determines whether the provided reference
references to a brush provided by this descriptor
Declaration
public bool MatchesLayerBrushReference(LayerBrushReference? reference)
Parameters
Returns