ImageInpaintingPossibleWatermark class
Leave feedback
On this page
Represents a manually specified image region that should be inpainted (filled using surrounding pixels).
The ImageInpaintingPossibleWatermark type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new ImageInpaintingPossibleWatermark instance. |
| Property | Description |
|---|---|
| method | The inpainting algorithm. Default is InpaintingMethod.patch_based. |
| parent | The parent of this ImageInpaintingPossibleWatermark. Always returns None because the region is specified manually. |
| patch_size | The patch size used by the algorithm (odd, 5-11). Default is 7. For InpaintingMethod.telea this is used as HalfPatchSize. |
| polygons | The polygonal regions to be inpainted, expressed as a list of polygons in image pixels. |
| rectangles | The rectangular areas to be inpainted, in image pixels. |
| formatted_text_fragments | The collection of formatted text fragments of this PossibleWatermark. (inherited from PossibleWatermark) |
| height | The height of this PossibleWatermark. (inherited from PossibleWatermark) |
| image_data | The image of this PossibleWatermark, or None if the watermark has no image. (inherited from PossibleWatermark) |
| page_number | The page number where the watermark is placed. (inherited from PossibleWatermark) |
| rotate_angle | The rotate angle of this PossibleWatermark in degrees. (inherited from PossibleWatermark) |
| text | The text of this PossibleWatermark. (inherited from PossibleWatermark) |
| unit_of_measurement | The unit of measurement of this PossibleWatermark. (inherited from PossibleWatermark) |
| width | The width of this PossibleWatermark. (inherited from PossibleWatermark) |
| x | The x-coordinate of this PossibleWatermark. (inherited from PossibleWatermark) |
| y | The y-coordinate of this PossibleWatermark. (inherited from PossibleWatermark) |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.