Graphics sinfi metodlari - Gdi+ imkoniyatlari

CopyFromScreen(Point, Point, Size)DrawArc(Pen, Rectangle, Single, Single)DrawBezier(Pen, Point, Point, Point, Point)DrawBeziers(Pen, Point[])DrawCloseCurve(Pen, Point[ ])DrawIcon(Icon, Rectangle)DrawLine(Pen, Point, Point)DrawPie(Pen, Rectangle, Single, Single)DrawPolygon(Pen, Point[])DrawRectangle(Pen, Rectangle)DrawString(String, Font, Brush, PointF)FillClosedCurve(Brush, Point[])FillEllipse(Brush, Rectangle)FillPath(Brush, GraphicsPath)FillPolygon(Brush, Point[])FillRectangle(Brush, Rectangle)FillRegion(Brush, Region) |
Gdi+ imkoniyatlari
|
bet | 2/2 | Sana | 17.11.2023 | Hajmi | 24,34 Kb. | | #100193 |
Bog'liq GDI1Bu sahifa navigatsiya:
- CopyFromScreen(Point, Point, Size)
- DrawArc(Pen, Rectangle, Single, Single)
- DrawBezier(Pen, Point, Point, Point, Point)
- DrawBeziers(Pen, Point[])
- DrawCloseCurve(Pen, Point[ ])
- DrawIcon(Icon, Rectangle)
- DrawLine(Pen, Point, Point)
- DrawPie(Pen, Rectangle, Single, Single)
- DrawPolygon(Pen, Point[])
- DrawRectangle(Pen, Rectangle)
- DrawString(String, Font, Brush, PointF)
- FillClosedCurve(Brush, Point[])
- FillEllipse(Brush, Rectangle)
- FillPath(Brush, GraphicsPath)
- FillPolygon(Brush, Point[])
- FillRectangle(Brush, Rectangle)
- FillRegion(Brush, Region)
Graphics sinfi metodlari
Metod nomi
|
Vazifasi
|
Qayta yuklanishlar
|
Clear(Color)
|
Butun chizilgan sirtini tozalaydi va sirtni belgilangan fon rangi bilan to'ldiradi.
|
1
|
CopyFromScreen(Point, Point, Size)
|
Bit bloklaridagi piksellarning to'rtburchaklar mintaqasiga mos keladigan rangli ma'lumotlarni ekrandan Graphics ob’ekti chizgan yuzasiga uzatadi.
|
4
|
Dispose()
|
Graphics ob’ekti tomonidan ishlatiladigan barcha resurslarni o‘chiradi
|
1
|
DrawArc(Pen, Rectangle, Single, Single)
|
Rectangle strukturasi tomonidan belgilangan ellipsning bir qismi bo'lgan yoyni chizadi.
|
4
|
DrawBezier(Pen, Point, Point, Point, Point)
|
To'rtta nuqta strukturasi bilan aniqlangan Bezier egri chizig'ini chizadi.
|
3
|
DrawBeziers(Pen, Point[])
|
(3N + 1) nuqtali tuzilmalar massivi bilan aniqlangan bir nechta (N) Bezier egri chiziqlarini chizadi.
|
2
|
DrawCloseCurve(Pen, Point[ ])
|
Yopiq fundamental splayn chizadi
|
4
|
DrawEllipse(Pen, Rectangle)
|
Ellips chizadi
|
4
|
DrawIcon(Icon, Rectangle)
|
Belgini chizadi
|
2
|
DrawImage(Image image, int x, int y)
|
Berilgan tasvirni (x, y) koordinatalaridagi haqiqiy o‘lchamidan foydalanib chizadi
|
30
|
DrawLine(Pen, Point, Point)
|
Ikki Point strukturasini tutashtiruvchi chiziq chizadi.
|
4
|
DrawLines(Pen, Point[ ])
|
Point tuzilmalari massivini bog‘lovchi chiziq segmentlari to‘plamini chizadi.
|
2
|
DrawPath(Pen, gp)
|
Pen Qalam bilan GraphicsPath gp ni chizadi.
|
1
|
DrawPie(Pen, Rectangle, Single, Single)
|
Rectangle strukturasi va ikkita radial chiziq bilan belgilangan ellips bilan aniqlangan sektorni chizadi.
|
4
|
DrawPolygon(Pen, Point[])
|
Point Nuqta tuzilmalari massivi bilan belgilangan ko‘pburchakni chizadi.
|
2
|
DrawRectangle(Pen, Rectangle)
|
Rectangle strukturasi bilan belgilangan to‘rtburchak chizadi.
|
3
|
DrawRectangles(Pen, Rectangle[])
|
Rectangle tuzilmalari bilan belgilangan to‘rtburchaklar to‘plamini chizadi.
|
2
|
DrawString(String, Font, Brush, PointF)
|
Belgilangan Brush va Font ob'ektlari yordamida ko'rsatilgan joyda ko'rsatilgan matn qatorini yaratadi.
|
6
|
Equals(Object)
|
Belgilangan ob'ekt joriy ob'ektga teng yoki yo'qligini aniqlaydi. (Object ob'ektidan meros qilib olingan.)
|
1
|
ExcludeClip(Rectangle)
|
Ushbu Rectangle strukturasi tomonidan belgilangan qirqilgan sohani o‘chirish qilish uchun ushbu Graphics ob’ekti hududini yangilaydi
|
1
|
FillClosedCurve(Brush, Point[])
|
Tuqta tuzilmalari massivi bilan aniqlangan yopiq asosiy egri chiziqning ichki qismini to‘ldiradi.
|
6
|
FillEllipse(Brush, Rectangle)
|
Rectangle strukturasi tomonidan belgilangan chegaralovchi to‘rtburchak bilan belgilangan ellipsning ichki qismini to‘ldiradi.
|
4
|
FillPath(Brush, GraphicsPath)
|
GraphicsPath ning ichki qismini to'ldiradi.
|
1
|
FillPie(Brush, Rectangle, Single, Single)
|
RectangleF strukturasi va ikkita radial chiziq bilan aniqlangan ellips bilan aniqlangan takozning ichki qismini to'ldiradi.
|
3
|
FillPolygon(Brush, Point[])
|
Nuqta tuzilmalari tomonidan belgilangan nuqtalar massivi bilan aniqlangan ko‘pburchakning ichki qismini to‘ldiradi.
|
4
|
FillRectangle(Brush, Rectangle)
|
Ushbu Rectangle strukturasi tomonidan belgilangan to'rtburchakning ichki qismini to'ldiradi.
|
4
|
FillRegion(Brush, Region)
|
Region ob’ektining ichki qismini to'ldiradi..
|
1
|
Flush()
|
Barcha kutilayotgan grafik operatsiyalarni bajarishga majbur qiladi va ularning tugashini kutmasdan darhol qaytaradi.
|
2
|
IntersectClip(Region)
|
Joriy kesish sohasi va belgilangan tuzilmaning kesishishini o‘z ichiga olish uchun ushbu obyektning kesish sohasini yangilaydi
|
3
|
ResetClip()
|
Tanlovni qayta o'rnatadi g, uni cheksiz qiladi
|
1
|
|
| |