How can I help you?
Static Functions
21 Apr 20261 minute to read
Root static functions of Pdf Component
_defineProperty
Defines a property on an object with specific attributes.
Returns any
_encodeCodePointToUtf8
Encodes a single Unicode code point (U+0000 to U+10FFFF) into UTF-8 bytes.
| Parameter | Type | Description |
|---|---|---|
| codePoint | number |
The Unicode code point to encode. |
Returns number[]
_isHexDigit
Checks whether a given character is a valid hexadecimal digit.
| Parameter | Type | Description |
|---|---|---|
| ch | string |
The character to check. |
Returns boolean
_toHex2
Converts a number to a two-character uppercase hexadecimal string.
| Parameter | Type | Description |
|---|---|---|
| n | number |
The number to convert (0 to 255 recommended). |
Returns string