Vcl.Imaging.pngimage.TPNGObject.Draw
Delphi
procedure Draw(ACanvas: TCanvas; const Rect: TRect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | public | Vcl.Imaging.pngimage.pas | Vcl.Imaging.pngimage | TPNGObject |
Description
Render graphic onto canvas at rectangle.
Vcl.Imaging.pngimage.TPNGObject.Draw inherits from Vcl.Graphics.TGraphic.Draw. All content below this line refers to Vcl.Graphics.TGraphic.Draw.
Render graphic onto canvas at rectangle.
TCanvas.Draw calls this function to render the graphic onto its canvas at the coordinates specified by the Rect parameter. Descendants of TGraphic should override this function with a specific rendering implementation.