ThreeDView
extends PdfObject
in package
3D view dictionary (/Type /3DView) — ISO 32000-2 §13.6.4.
Describes a named camera view of a 3D model.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_6
Table of Contents
Constants
- PDF_TYPE = '3DView'
Properties
- $bg : ThreeDBackground|PdfReference|null
- $c2w : PdfArray|null
- $co : float|null
- $generationNumber : int
- $in : PdfString|null
- $ls : ThreeDLightingScheme|PdfReference|null
- $ms : PdfName|null
- $na : PdfArray|null
- $nr : bool|null
- $o : PdfArray|null
- $objectNumber : int
- $p : PdfDictionary|null
- $rm : ThreeDRenderMode|PdfReference|null
- $sa : PdfArray|null
- $xn : PdfString
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
= '3DView'
Properties
$bg
public
ThreeDBackground|PdfReference|null
$bg
= null
$c2w
public
PdfArray|null
$c2w
= null
$co
public
float|null
$co
= null
$generationNumber
public
int
$generationNumber
= 0
$in
public
PdfString|null
$in
= null
$ls
public
ThreeDLightingScheme|PdfReference|null
$ls
= null
$ms
public
PdfName|null
$ms
= null
$na
public
PdfArray|null
$na
= null
$nr
public
bool|null
$nr
= null
$o
public
PdfArray|null
$o
= null
$objectNumber
public
int
$objectNumber
= 0
$p
public
PdfDictionary|null
$p
= null
$rm
public
ThreeDRenderMode|PdfReference|null
$rm
= null
$sa
public
PdfArray|null
$sa
= null
$xn
public
PdfString
$xn
Methods
__construct()
public
__construct(string $externalName) : mixed
Parameters
- $externalName : 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