THPDFPage.Polygon Method

Provides polygon behaviour for the page drawing workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

procedure Polygon(const Points: array of THPDFCurrPoint);

Unit

HPDFDoc

Parameters

NameDescription
PointsArray of polygon vertices, each holding X and Y coordinates in user-space units; at least 2 elements are required, and the path starts at Points[0], joining each point in turn

Return value

This member returns no value

Usage notes

Related APIs