SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph A class representing a glyph.

File: /SetaPDF v2/Core/Font/TrueType/Table/GlyphData/Glyph.php

Class hierarchy

Summary

Properties

$_length

Length of this glyph

$_offset

Offset of this glyph


Methods

__construct()

The constructor.

Parameters
$glyphData : SetaPDF_Core_Font_TrueType_Table_GlyphData
 
$offset : integer

The byte offset position for this glyph

$length : integer

The byte length of this glyph

_read()

private SetaPDF_Core_Font_TrueType_Table_GlyphData_Glyph::_read (
integer $offset [, string $method = 'readInt16' ]
): integer|mixed

Read a value for this glyph.

Parameters
$offset : integer
 
$method : string
 

cleanUp()

Release memory.

getLength()

Get the byte length of this glyph.

getNumberOfContours()

Get the number of contours of this glyph.

getXMax()

Get the maximum x for coordinate data.

getXMin()

Get the minimum x for coordinate data.

getYMax()

Get the maximum y for coordinate data.

getYMin()

Get the minimum y for coordinate data.