Name
extends AbstractTable
in package
NAME table class
Tags
Table of Contents
Properties
- $names : array<string|int, mixed>
- TrueType font info names
- $properties : array<string|int, mixed>
- Font table properties
- $readOnly : array<string|int, mixed>
- Read-only properties
Methods
- __construct() : mixed
- Constructor
- __get() : mixed
- Get method
- __isset() : bool
- Isset method
- __set() : void
- Set method
- __unset() : void
- Unset fields[$name]
- offsetExists() : bool
- Offset exists method
- offsetGet() : mixed
- Offset get method
- offsetSet() : void
- Offset set method
- offsetUnset() : void
- Offset unset method
Properties
$names
TrueType font info names
protected
array<string|int, mixed>
$names
= [0 => 'copyright', 1 => 'fontFamily', 2 => 'fontSubFamily', 3 => 'uniqueId', 4 => 'fullName', 5 => 'version', 6 => 'postscriptName', 7 => 'trademark', 8 => 'manufacturer', 9 => 'designer', 10 => 'description', 11 => 'vendorUrl', 12 => 'designerUrl', 13 => 'license', 14 => 'licenseUrl', 16 => 'preferredFamily', 17 => 'preferredSubFamily', 18 => 'compatibleFull', 19 => 'sampleText']
$properties
Font table properties
protected
array<string|int, mixed>
$properties
= []
$readOnly
Read-only properties
protected
array<string|int, mixed>
$readOnly
= []
Methods
__construct()
Constructor
public
__construct(TrueType $font) : mixed
Instantiate a TTF 'name' table object.
Parameters
- $font : TrueType
__get()
Get method
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
Isset method
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__set()
Set method
public
__set(string $name, mixed $value) : void
Parameters
- $name : string
- $value : mixed
__unset()
Unset fields[$name]
public
__unset(string $name) : void
Parameters
- $name : string
offsetExists()
Offset exists method
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
Offset get method
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
Offset set method
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
Offset unset method
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed