Skip to content

pack_square()

Kevin110026 edited this page Mar 5, 2025 · 1 revision

new pack_square(x = 200, y = 200, width = 40, height = 40, text = "")

生成一個矩形

property - Coordinate2d pos

矩形中心點的位置

property - pointer width, height

矩形的寬與高

property - pointer rotate

矩形以中心點旋轉(單位:deg)

Clone this wiki locally