Class PathCompositionSceneCommand
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Scene command wrapper for fill-path and layer-based composition commands.
public sealed class PathCompositionSceneCommand : CompositionSceneCommand
- Inheritance
-
PathCompositionSceneCommand
- Inherited Members
Constructors
PathCompositionSceneCommand(in CompositionCommand)
Initializes a new instance of the PathCompositionSceneCommand class.
public PathCompositionSceneCommand(in CompositionCommand command)
Parameters
commandCompositionCommandThe wrapped composition command.
Properties
Command
Gets the wrapped composition command.
public CompositionCommand Command { get; }
Property Value
Methods
Accept(ICompositionSceneCommandVisitor)
Dispatches the command to a visitor without a per-item kind switch at the call site.
public override void Accept(ICompositionSceneCommandVisitor visitor)
Parameters
visitorICompositionSceneCommandVisitorThe visitor receiving the command.