반응형
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 | 31 |
Tags
- google apps script
- c#
- Google Excel
- Kotlin
- Github
- numpy
- Python
- 파이썬
- Apache
- string
- PANDAS
- PostgreSQL
- SQL
- list
- Tkinter
- PySpark
- array
- Redshift
- Google Spreadsheet
- math
- matplotlib
- Mac
- Excel
- gas
- Java
- django
- hive
- dataframe
- GIT
Archives
- Today
- Total
목록clipping (1)
달나라 노트

C#에는 Clipping이라는 것이 있습니다. Clipping은 간단히 말하면 Form class로 Window를 띄운 후 그림을 그릴 때 그림이 표시될 영역을 지정하는 것입니다. 이 예시에서는 아래 이미지를 사용합니다. 먼저 아래 코드를 봅시다. 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; Image img = Image.FromFile("C:\\Users\\Public\\arrow.png"); void fm_show_img(object sender, Pa..
C#/C#
2022. 4. 15. 01:20