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
| 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. |
méthodes
| 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() |
Voir aussi
- Aspose.Page pour Python — API d’entreprise référence