Documentation

Hmtx extends AbstractTable
in package

HMTX table class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
5.2.0

Table of Contents

Properties

$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

$properties

Font table properties

protected array<string|int, mixed> $properties = ['glyphWidths' => []]

$readOnly

Read-only properties

protected array<string|int, mixed> $readOnly = []

Methods

__construct()

Constructor

public __construct(TrueType $font) : mixed

Instantiate a TTF 'hmtx' 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
bool

offsetGet()

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

        
On this page

Search results