class final readonly Core · roukmoute/pdf 0.6.2
PDF\Document\Fonts\CIDMetricsExplicit horizontal and vertical metric models for arbitrary normalized CID fonts.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\Syntax\Object\IntegerType $defaultWidth = new IntegerType(1000), PDF\Document\Fonts\CIDWidthArray $widths = new CIDWidthArray(), ?PDF\Document\Fonts\CIDVerticalMetrics $vertical = null)Declared methods
entries()
public function entries(): array@return list<Entry>verticalMetric()
public function verticalMetric(PDF\Syntax\Object\IntegerType $cid): PDF\Document\Fonts\CIDVerticalMetricwidth()
public function width(PDF\Syntax\Object\IntegerType $cid): PDF\Syntax\Object\NumericTypeProperties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Syntax\Object\IntegerType $defaultWidth | PDF\Document\Fonts\CIDMetrics |
public readonly ?PDF\Document\Fonts\CIDVerticalMetrics $vertical | PDF\Document\Fonts\CIDMetrics |
public readonly PDF\Document\Fonts\CIDWidthArray $widths | PDF\Document\Fonts\CIDMetrics |