Class LineSegmentCompositionSceneCommand
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Scene command wrapper for explicit stroked line-segment commands.
public sealed class LineSegmentCompositionSceneCommand : CompositionSceneCommand
- Inheritance
-
LineSegmentCompositionSceneCommand
- Inherited Members
Constructors
LineSegmentCompositionSceneCommand(in StrokeLineSegmentCommand)
Initializes a new instance of the LineSegmentCompositionSceneCommand class.
public LineSegmentCompositionSceneCommand(in StrokeLineSegmentCommand command)
Parameters
commandStrokeLineSegmentCommandThe wrapped stroke line-segment command.
Properties
Command
Gets the wrapped stroke line-segment command.
public StrokeLineSegmentCommand 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.