![]() ![]() ![]() ![]() ![]() So here in my blog I have used TImage control and its Canvas property to draw shapes. Even when we minimize and maximize a form you see the drawing image will cleared automatically because after minimize when we maximize the form it tries to repaint the form area to already drawn images will be cleared. Represents the color and pattern used to fill solid shapes.Ĭlass which provides a rectangle area of points (left, top, bottom, right)Ĭlass to change font name, size, color and style when we draw a text.Įven though form’s have also canvas property it’s not a good practice to draw shapes on Delphi forms because we may put other controls on form and may draw on top of the other controls which will result a undesirable result. Used to draw lines or outline shapes on a canvas. TGraphics is the abstract base class type for objects such as icons, bitmaps, and meta files that can store and display visual images. Use TCanvas as a drawing surface for objects that draw an image of themselvesīitmap is a powerful graphics object used to create, manipulate (scale, scroll, rotate, and paint), and store images in memory and as files on a disk. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |