using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FastReport.Export.Hpgl.Commands
{
///
/// Polygon Type
///
public enum PolygonType
{
///
/// Polygon buffer is cleared and it is made polygon definition mode.
///
Cleared = 0,
///
/// Polygon under definition is closed.
///
Closed = 1,
///
/// Polygon under definition is closed and polygon definition mode is canceled.
///
ClosedAndCanceled = 2
}
///
/// PM command
/// It is made polygon definition mode. PM command is used with
/// PA/PR, PU/PD, AA/AR, CI, and CT command, and can define polygon.
///
public class PolygonMode : CommandBase
{
public PolygonMode(PolygonType n) : base()
{
Name = "PM";
Parameters.Add((int)n);
}
}
}