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 ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: cos, current_poly, delta, endtype, jointype, miter_lim,และอีก 6 คน.

Properties

NameTypeAccessDescription
p``Readได้ p.
current_polyList[IntPoint]Readได้รับปอลีออนไลน์ที่ผ่านมา.
normalsList[DoublePoint]Readได้รับปกติ.
delta``Readได้รับเดลต้า.
sin_a``Readได้รับความผิด a.
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

 ภาษาไทย