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
PDF_TYPE
public
mixed
PDF_TYPE
= '3DMeasure'
Properties
$anchors
public
PdfArray|null
$anchors
= null
$generationNumber
public
int
$generationNumber
= 0
$objectNumber
public
int
$objectNumber
= 0
$subtype
public
PdfName
$subtype
$target
public
PdfReference|null
$target
= null
$text
public
PdfString|null
$text
= null
$textProperties
public
PdfDictionary|null
$textProperties
= null
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
stringtoPdf()
Serialize the object's dictionary/value to PDF syntax.
public
toPdf() : string