Skip to content

zeropdf v1.3.0


zeropdf / pt

Function: pt()

ts
function pt(value): number;

Defined in: src/types.ts:3216

Identity converter for points. Provided for symmetry with mm, cm, and inch so unit intent stays explicit at call sites.

Parameters

ParameterTypeDescription
valuenumberLength in points.

Returns

number

The same length in points.

Released under the ISC license.