TCanvas
English · Русский
A TCanvas is the primary tool to draw graphics.
To draw lines, boxes and text a TPen, TBrush and TFont are to be used to determine pen size and color, brush style and color, font style and color.
| Render text | TextOut( x, y, text ) |
| Draw line | Line( x1, y1, x2, y2 ); LineTo( x, y ) with MoveTo(x, y ) |
| Draw a box | Rectangle( l, t, r, b ); Rectangle( R: TRect ); FillRect(...) |
| Draw a circle | Ellipse( l, t, r, b ); Ellipse( R: TRect ) |
From the Free Pascal wiki, page "TCanvas", as it stood on 2023-12-15 after a change by Coz, 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.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
