SetaPDF_Core_Font_TrueType_Table_ControlValue A class representing the Control Value Table (cvt ) in a TrueType file.

File: /SetaPDF v2/Core/Font/TrueType/Table/ControlValue.php

Class hierarchy

Summary

Constants

TAG

const string SetaPDF_Core_Font_TrueType_Table_ControlValue::TAG = 'cvt '

The tag name of this class


Properties

$_data

protected array SetaPDF_Core_Font_TrueType_Table_ControlValue::$_data = array()

Data of the table

$_entries

protected array SetaPDF_Core_Font_TrueType_Table_ControlValue::$_entries = array()

Configuration about table entries

$_rawData

protected array SetaPDF_Core_Font_TrueType_Table_ControlValue::$_rawData = array()

Raw binary data read from the file

$_record

protected SetaPDF_Core_Font_TrueType_Table_Record SetaPDF_Core_Font_TrueType_Table_ControlValue::$_record

The main table record.


Static Methods

getClassName()

public static SetaPDF_Core_Font_TrueType_Table::getClassName (
$tag
): string

Get a class name for a specific table by its tag name.

Parameters
$tag
 

Methods

_get()

protected SetaPDF_Core_Font_TrueType_Table::_get (
$name
): integer|float|mixed|null

Get a value from the table.

The properties are defined in the $_entries property of an implemented table.

Parameters
$name
 

_getRaw()

protected SetaPDF_Core_Font_TrueType_Table::_getRaw (
$name
): mixed|null

Get raw data from a specific table.

The properties are defined in the $_entries property of an implemented table.

Parameters
$name
 

cleanUp()

Release memory.

getCount()

Get the entry count in this table.

getRecord()

getValue()

public SetaPDF_Core_Font_TrueType_Table_ControlValue::getValue (
integer $index
): integer

Get a value from this table.

Parameters
$index : integer