PolyOffsetBuilder

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

NameTypeAccessDescription
p``ReadGets the p.
current_polyList[IntPoint]ReadGets the current poly.
normalsList[DoublePoint]ReadGets the normals.
delta``ReadGets the delta.
sin_a``ReadGets the sin a.
sin``ReadGets the sin.
cos``ReadGets the cos.
steps360``ReadGets the steps360.
jointype``ReadGets the jointype.
endtype``ReadGets the endtype.
solutionList[List[IntPoint]]ReadGets the solution.
miter_lim``ReadGets the miter lim.

Methods

SignatureDescription
__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()

See Also