Sign in Join
FPDoc Onlineexperiment

TScaledImageListResolution.StretchDraw procedure

Member of TScaledImageListResolutionpublicIn unit ImgList

Draws the scaled image sized to the target rectangle.

Declaration

pascal
procedure StretchDraw(Canvas: TCanvas; Index: Integer; ARect: TRect; 
 Enabled: Boolean=True)

Arguments

Canvas
Index

Ordinal position for the image drawn in method.

ARect

Rectangle with the coordinates where the image is drawn on the canvas.

EnabledTrue if the image is drawn in the enabled state.

Description

Calls the StretchDraw method in the Resolution member.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.