Type2Interpreter
Type2Interpreter
Apžvalga
Type2Interpreter yra Aspose.Font FOSS klasė Python.
Interpretas 2 tipo įsakymus į GlyphPath.
Ši klasė siūlo 2 metodus, kaip dirbti su Type2Interpreter objektais Python programose. Galimi metodai apima: __init__, interpret. Visi viešieji nariai yra prieinami bet kokiam „Python“ programai po to, kai įdiegėte Aspose.Font FOSS „ Python“.
Metodai
| Signature | Aprašymas |
|---|---|
__init__(global_subrs: CffIndex, local_subrs: CffIndex, default_width_x: int, nominal_width_x: int) | Calls Intai Šioje instance Type2Interpreter. |
interpret(charstring: bytes, gid: int) → tuple[GlyphPath, int] | Ištrina 2 tipo plokštelę ir grąžina GlyphPath objekto dubenį ir sunaudotų bajtų skaičių |