![]() |
#include <PolyLine.h>
Public Member Functions | |
Polygon (SDF::Obj d=0) | |
Creates a Polygon annotation and initializes it using given Cos/SDF object. | |
Polygon (const Annot &ann) | |
Creates a Polygon annotation and initializes it using given annotation object. | |
Static Public Member Functions | |
static Polygon | Create (SDF::SDFDoc &doc, const Rect &pos) |
Creates a new Polygon annotation in the specified document. |
pdftron::PDF::Annots::Polygon::Polygon | ( | SDF::Obj | d = 0 |
) |
Creates a Polygon annotation and initializes it using given Cos/SDF object.
pdftron::PDF::Annots::Polygon::Polygon | ( | const Annot & | ann | ) | [inline] |
Creates a Polygon annotation and initializes it using given annotation object.
static Polygon pdftron::PDF::Annots::Polygon::Create | ( | SDF::SDFDoc & | doc, | |
const Rect & | pos | |||
) | [static] |
Creates a new Polygon annotation in the specified document.
doc | A document to which the Polygon annotation is added. | |
pos | A rectangle specifying the Polygon annotation's bounds in default user space units. |
Reimplemented from pdftron::PDF::Annots::PolyLine.