TTMSFNCGraphics.DrawSample Method
Draws a representative sample of the graphics appearance into
ACanvasatARect, for use in design-time preview or palettes.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Syntax
class procedure DrawSample(ACanvas: TCanvas; ARect: TRectF); virtual;
Parameters
| Name | Description |
|---|---|
ACanvas |
Target framework canvas to draw the sample onto. |
ARect |
Bounding rectangle on ACanvas where the sample is drawn. |