TCanvas/ru
English · Русский
Класс TCanvas является базовым инструментом для рисования графики.
Для рисования линий, прямоугольников и текста используются TPen, TBrush и TFont, чтобы определить размер и цвет карандаша, стиль и цвет кисти, стиль и цвет шрифта.
| текст | TextOut( txt ); TextOutXY( x, y, txt ) |
| линии | Line( x1, y1, x2, y2 ); LineTo( x, y ) with MoveTo(x, y ) |
| прямоугольник | Rectangle( l, t, r, b ); Rectangle( R: TRect ); FillRect() |
| окружность (эллипс) | Ellipse( l, t, r, b ); Ellipse( R: TRect ) |
From the Free Pascal wiki, page "TCanvas/ru", as it stood on 2018-05-26 after a change by Useroflazarus, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.