Reshaper
Overview
Reshaper is a class in Aspose.PDF FOSS for Python.
Policy for shaping complex-script replacements during a text edit.
This class declares 3 methods for Reshaper objects in Python programs.
Available methods include: __init__, inline_codes, request_author.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: author_requests, can_author.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
can_author | `` | Read | Gets the can author. |
author_requests | list[_ReshapeAuthorRequest] | Read | Gets the author requests. |
Methods
| Signature | Description |
|---|---|
__init__(can_author: bool, budget: _LoadBudget) | Calls init(can_author, budget) on this Reshaper instance. |
inline_codes(replacement: str, metric: Any) → bytes | None | Calls inline_codes(replacement, metric) on this Reshaper instance. |
request_author(replacement: str, origin_trm: tuple | None, pen_x: float, pen_y: float, size: float) → bool | Calls request_author(replacement, origin_trm, pen_x, pen_y, size) on this Reshaper instance. |