반응형
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 |
Tags
- array
- dataframe
- PANDAS
- Python
- Google Spreadsheet
- Mac
- c#
- PySpark
- matplotlib
- list
- django
- SQL
- Kotlin
- string
- Tkinter
- PostgreSQL
- Google Excel
- google apps script
- GIT
- 파이썬
- Java
- Apache
- math
- hive
- gas
- Github
- numpy
- Excel
- Redshift
Archives
- Today
- Total
목록create_line (1)
달나라 노트
Python tkinter : create_line (선 그리기)
Canvas의 create_line은 Canvas 위에 직선을 그려줍니다. Syntax Canvas.create_line(x1, y1, x2, y2, fill=color, width=number) create_line은 2개의 점에 대한 좌표를 받아 그 두 점을 이어주는 형식으로 직선을 그립니다. 따라서 점 (x1, y1)과 점 (x2, y2)를 직선으로 이어주죠. fill 옵션은 선의 색상을 설정합니다. black, white, gray 등과 같은 색상 이름 또는 hex color값을 받을 수 있습니다. width 옵션은 선의 두께를 설정합니다. Syntax Canvas.create_line(x1, y1, x2, y2, x3, y3, ..., fill=color, width=number, smooth=..
Python/Python tkinter
2022. 5. 19. 19:28