// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System;
namespace SixLabors.PolygonClipper {
///
/// Encodes path commands used by the stroker path-emission pipeline.
///
[Flags]
internal enum PathCommand : byte
{
///
/// Marks the end of a command stream.
///
Stop = 0,
///
/// Starts a new contour at the supplied vertex.
///
MoveTo = 1,
///
/// Emits a line segment to the supplied vertex.
///
LineTo = 2,
///
/// Terminates the current contour and applies path flags.
///
EndPoly = 0x0F,
///
/// Bit mask for extracting the command portion of a value.
///
Mask = 0x0F
}
}