setasign\SetaPDF2\Core\Font\TrueType\Table

Record A record in a TrueType file

File: /SetaPDF v2/Core/Font/TrueType/Table/Record.php
Old class name (alias): \SetaPDF_Core_Font_TrueType_Table_Record

Class hierarchy

Summary

Properties

$_className

protected ?string Record::$_className

The class name representing this type of table

$_file

The true type file

$_length

protected ?int Record::$_length

The length of the table

$_offset

protected int Record::$_offset

The offset of the table

$_table

The table instance


Methods

__construct()

public Record::__construct (
\SetaPDF_Core_Font_TrueType_File $file,
int $offset,
?int $length = null,
?string $className = null
)

The constructor.

Parameters
$file : \SetaPDF_Core_Font_TrueType_File
 
$offset : int
 
$length : ?int
 
$className : ?string
 

cleanUp()

public Record::cleanUp (
void
): void

Release memory and cycled references.

getClassName()

public Record::getClassName (
void
): ?string

Get the class name for this type of table.

getFile()

Get the TrueType file.

getLength()

public Record::getLength (
void
): ?int

Get the length of the table.

getOffset()

public Record::getOffset (
void
): int

Get the table offset.

getTable()

Get the table instance for this record.

Exceptions

Throws \setasign\SetaPDF2\NotImplementedException