Class ChangeLayerBrush
Represents a profile editor command that can be used to change the brush of a layer.
public class ChangeLayerBrush : IProfileEditorCommand, IDisposable
- Inheritance
-
objectChangeLayerBrush
- Implements
Constructors
ChangeLayerBrush(Layer, LayerBrushDescriptor)
Creates a new instance of the ChangeLayerBrush class.
public ChangeLayerBrush(Layer layer, LayerBrushDescriptor layerBrushDescriptor)
Parameters
layerLayerlayerBrushDescriptorLayerBrushDescriptor
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()