반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- string
- gas
- Mac
- numpy
- dataframe
- Google Spreadsheet
- GIT
- PANDAS
- Github
- Tkinter
- Python
- math
- c#
- Google Excel
- Apache
- django
- array
- matplotlib
- Redshift
- 파이썬
- PostgreSQL
- Excel
- google apps script
- hive
- SQL
- Java
- Kotlin
- list
- PySpark
Archives
- Today
- Total
목록create_polygon (1)
달나라 노트

create_polygon method는 Canvas 위에 다각형을 그려줍니다. Syntax Canvas.create_polygon(x1, y1, x2, y2, x3, y3, ..., fill=color, outline=color, width=number) create_polygon은 여러 개의 좌표를 받아 해당 좌표를 순차적으로 지나가는 직선으로 이어진 다각형을 만들어줍니다. (x1, y1), (x2, y2), (x3, y3), (x4, y4), ... 등 전달할 좌표의 숫자는 원하는 만큼 전달하면 됩니다. 여기서 가장 첫 번째 주어진 좌표부터 지나갑니다. fill 옵션은 다각형 내부 색상을 의미합니다. balck, white, gray 등 색상 이름 또는 hex color 코드를 받을 수 있습니다. ..
Python/Python tkinter
2022. 5. 19. 20:03