Table of Contents

Class ChangeLayerBrush

Namespace
Artemis.UI.Shared.Services.ProfileEditor.Commands
Assembly
Artemis.UI.Shared.dll

Represents a profile editor command that can be used to change the brush of a layer.

public class ChangeLayerBrush : IProfileEditorCommand, IDisposable
Inheritance
object
ChangeLayerBrush
Implements

Constructors

ChangeLayerBrush(Layer, LayerBrushDescriptor)

Creates a new instance of the ChangeLayerBrush class.

public ChangeLayerBrush(Layer layer, LayerBrushDescriptor layerBrushDescriptor)

Parameters

layer Layer
layerBrushDescriptor LayerBrushDescriptor

Properties

DisplayName

Gets the name of the command

public string DisplayName { get; }

Property Value

string

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()