PdfPolygonAnnotation Class

A polygon annotation (ISO 32000-2, 12.5.6.9): a closed shape of vertices, drawn with the color of the annotation and filled with its interior color.

public sealed class PdfPolygonAnnotation : PdfMarkupAnnotation
Inheritance
PdfMarkupAnnotation PdfPolygonAnnotation

Properties

NameDescription
InteriorColorGets or sets the color that fills the polygon (/IC), or null for a polygon that is not filled.
VerticesGets or sets the vertices (/Vertices), in default user space.

Gets or sets the color that fills the polygon (/IC), or null for a polygon that is not filled.

public PdfColor? InteriorColor { get; set; }

Property value

PdfColor?

Gets or sets the vertices (/Vertices), in default user space.

public IReadOnlyList<PdfPoint> Vertices { get; set; }