| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
| 31 |
- gas
- Java
- string
- PySpark
- Redshift
- PANDAS
- Kotlin
- google apps script
- c#
- 파이썬
- Tkinter
- django
- hive
- array
- dataframe
- GIT
- matplotlib
- SQL
- Python
- Google Spreadsheet
- PostgreSQL
- Google Excel
- Mac
- list
- numpy
- math
- Excel
- Github
- Apache
- Today
- Total
목록PictureBox (2)
달나라 노트
FillRectangle method는 채워진 사각형을 그려줍니다. Syntax - FillRectangle FillRectangle(brush, Rectangle) - brush FillRectangle method는 첫 번째 인자로 Brush 객체를 받습니다. Brush 객체는 색상 정보를 가지고 있습니다. - Rectangle 두 번째 인자로는 Rectangle 객체를 받습니다. Rectangle 객체는 사각형의 x, y좌표와 가로/세로 길이 정보를 받습니다. Syntax - Rectangle object Rectangle rect = new Rectangle(x, y, width, height) - x, y 사각형 왼쪽 상단 꼭지점의 x, y 좌표를 의미합니다. 사각형 좌표의 기준은 왼쪽 상단 꼭..
PictureBox class는 이미지를 띄울 수 있는 박스입니다. 아래 코드를 봅시다. 참고로 저는 C:\Users\Public\arraw.png 경로에 아래 이미지를 넣어뒀습니다. 직접 그림판으로 만든 이미지인데 위 이미지를 사용해도 되고 직접 그림판으로 그려도 됩니다. using System; using System.Windows.Forms; using System.Drawing; class MyProgram { public static void Main() { Form fm = new Form(); fm.Width = 500; fm.Height = 300; PictureBox pb = new PictureBox(); pb.Parent = fm; pb.Image = Image.FromFile("C:..
