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
Remarks
The internal setter lets the batcher rewrite the command in place during flush preparation (for example brush normalization) without reallocating the scene node.
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.