PHP Class Pop\Font\TrueType\Table\Name

Author: Nick Sagona, III ([email protected])
Show file Open project: nicksagona/PopPHP

Protected Properties

Property Type Description
$fontInfo array Font info
$names array TrueType font info names

Public Methods

Method Description
__construct ( AbstractFont $font ) : Name Constructor
__get ( string $name ) : mixed Get method to return the value of fontInfo[$name].
__isset ( string $name ) : boolean Return the isset value of fontInfo[$name].
__set ( string $name, mixed $value ) : void Set method to set the property to the value of fontInfo[$name].
__unset ( string $name ) : void Unset fontInfo[$name].

Method Details

__construct() public method

Instantiate a TTF 'name' table object.
public __construct ( AbstractFont $font ) : Name
$font Pop\Font\AbstractFont
return Name

__get() public method

Get method to return the value of fontInfo[$name].
public __get ( string $name ) : mixed
$name string
return mixed

__isset() public method

Return the isset value of fontInfo[$name].
public __isset ( string $name ) : boolean
$name string
return boolean

__set() public method

Set method to set the property to the value of fontInfo[$name].
public __set ( string $name, mixed $value ) : void
$name string
$value mixed
return void

__unset() public method

Unset fontInfo[$name].
public __unset ( string $name ) : void
$name string
return void

Property Details

$fontInfo protected property

Font info
protected array $fontInfo
return array

$names protected property

TrueType font info names
protected array $names
return array