Table of Contents

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

command StrokeLineSegmentCommand

The wrapped stroke line-segment command.

Properties

Command

Gets the wrapped stroke line-segment command.

public StrokeLineSegmentCommand Command { get; }

Property Value

StrokeLineSegmentCommand

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

visitor ICompositionSceneCommandVisitor

The visitor receiving the command.