PolyOffsetBuilder

Vue de l’ensemble

‘PolyOffsetBuilder’ est une classe dans Aspose.Page FOSS pour Python.

PolyOffsetBuilder.add_point(pt) ajoute un vertex au polygone avant de compter la géométrie offset, et build() finit la construction.

Cette classe fournit 7 méthodes pour travailler avec des objets PolyOffsetBuilder dans les programmes Python. Les méthodologies disponibles comprennent: __init__, add_point , ‘build;do_miter; do_round : 'do-square. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de la page Aspose.Page FOSS pour le package Pyathon. Propriétés : cos et current_poly .

Propriétés

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.

méthodes

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

Voir aussi

  • Aspose.Page pour Python — API d’entreprise référence
 Français