Class StrokePathCompositionSceneCommand
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Scene command wrapper for stroked path commands.
public sealed class StrokePathCompositionSceneCommand : CompositionSceneCommand
- Inheritance
-
StrokePathCompositionSceneCommand
- Inherited Members
Constructors
StrokePathCompositionSceneCommand(in StrokePathCommand)
Initializes a new instance of the StrokePathCompositionSceneCommand class.
public StrokePathCompositionSceneCommand(in StrokePathCommand command)
Parameters
commandStrokePathCommandThe wrapped stroke path command.
Properties
Command
Gets the wrapped stroke path command.
public StrokePathCommand Command { get; }
Property Value
Remarks
The internal setter lets the batcher rewrite the command in place during flush preparation (for example dash or transform expansion) 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.