phpdftk API Documentation

ThreeDMeasure extends PdfObject
in package

3D measurement dictionary (/Type /3DMeasure) — ISO 32000-2 §13.6.4.6.

Describes a linear, radial, angular, perpendicular, or point-coordinate measurement annotation inside a 3D view. The /Subtype selects one of six flavors: 3DC (basic), LD (linear), PD3 (perpendicular), RD3 (radial), AD3 (angular), 3DM (point).

Represented here as a single class with $subtype; callers choose the subtype and populate the fields appropriate to it.

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_6

Table of Contents

Constants

PDF_TYPE  = '3DMeasure'

Properties

$anchors  : PdfArray|null
$generationNumber  : int
$objectNumber  : int
$subtype  : PdfName
$target  : PdfReference|null
$text  : PdfString|null
$textProperties  : PdfDictionary|null

Methods

__construct()  : mixed
toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.

Constants

Properties

$generationNumber

public int $generationNumber = 0

Methods

__construct()

public __construct(string $subtype) : mixed
Parameters
$subtype : string

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results