PolyOffsetBuilder

PolyOffsetBuilder

Overview

PolyOffsetBuilder є клас у Aspose.Page FOSS для Python.

PolyOffsetBuilder.add_point(pt) додає верхівку до багатогранника перед обчисленням геометрії офсету, і build (()) завершує конструкцію.

Цей клас надає 7 методів роботи з об’єктами PolyOffsetBuilder в програмах Python. Доступні методи включають: __init__, add_point, build, do_miter, do_round, do_square, offset_point. Всі публічні члени доступні будь-якій додаткові Python після встановлення Aspose.Page FOSS для пакету Python. Свойства: cos, current_poly, delta, endtype, jointype, miter_lim, і ще 6.

Properties

NameTypeAccessDescription
p``ReadОбирає “п”.
current_polyList[IntPoint]ReadПочинає поточний полі.
normalsList[DoublePoint]ReadВін отримує нормальні.
delta``ReadВже дельта.
sin_a``ReadОбирає гріх а.
sin``ReadОтримає гріх.
cos``ReadВін отримує штраф.
steps360``ReadЦе кроки 360.
jointype``ReadВін отримує шрифт.
endtype``ReadОтримає кінцевий тип.
solutionList[List[IntPoint]]ReadЗнає рішення.
miter_lim``ReadВізьміть мітр.

Methods

SignatureDescription
__init__(pts: List[List[IntPoint]], delta: float, jointype: int, endtype: int, limit: float)
add_point(pt: IntPoint)Додає вершину до багатокутного перед обчисленням геометрії офсету, і build ((() завершує конструкцію.
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

 Українська