PolyOffsetBuilder
Overview
PolyOffsetBuilder is a class in Aspose.Page FOSS for Python.
PolyOffsetBuilder.add_point(pt) adds a vertex to the polygon before computing offset geometry, and build() finalizes the construction.
This class provides 7 methods for working with PolyOffsetBuilder objects in Python programs.
Available methods include: __init__, add_point, build, do_miter, do_round, do_square, offset_point.
All public members are accessible to any Python application after installing the Aspose.Page FOSS for Python package.
Properties: cos, current_poly, delta, endtype, jointype, miter_lim, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
p | `` | Read | Gets the p. |
current_poly | List[IntPoint] | Read | Gets the current poly. |
normals | List[DoublePoint] | Read | Gets the normals. |
delta | `` | Read | Gets the delta. |
sin_a | `` | Read | Gets the sin a. |
sin | `` | Read | Gets the sin. |
cos | `` | Read | Gets the cos. |
steps360 | `` | Read | Gets the steps360. |
jointype | `` | Read | Gets the jointype. |
endtype | `` | Read | Gets the endtype. |
solution | List[List[IntPoint]] | Read | Gets the solution. |
miter_lim | `` | Read | Gets the miter lim. |
Methods
| Signature | Description |
|---|---|
__init__(pts: List[List[IntPoint]], delta: float, jointype: int, endtype: int, limit: float) | |
add_point(pt: IntPoint) | Adds a vertex to the polygon before computing offset geometry, and build() finalizes the construction |
do_square(k: int, j: int, m: int) | |
do_miter(r: float, k: int, j: int, m: int) | |
do_round(k: int, j: int, m: int) | |
offset_point(k: int, j: int, m: int) → int | |
build() |