Vcl.Touch.GestureCtrls.DrawGesture
Delphi
procedure DrawGesture(ACanvas: TCanvas; const APoints: array of TPoint; AColor: TColor);
procedure DrawGesture(ACanvas: TCanvas; const APoints: array of TPoint; AColor: TColor; const AOffset: TPoint);
procedure DrawGesture(ACanvas: TCanvas; AGesture: TCustomGestureCollectionItem; AColor: TColor);
procedure DrawGesture(ACanvas: TCanvas; AGesture: TCustomGestureCollectionItem; AColor: TColor; const AOffset: TPoint);
C++
extern DELPHI_PACKAGE void __fastcall DrawGesture(Vcl::Graphics::TCanvas* ACanvas, const System::Types::TPoint *APoints, const int APoints_High, System::Uitypes::TColor AColor)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Touch.GestureCtrls.pas Vcl.Touch.GestureCtrls.hpp |
Vcl.Touch.GestureCtrls | Vcl.Touch.GestureCtrls |
Description
Draws a gesture on a given canvas.
Use DrawGesture to draw the gesture path on a given canvas. DrawGesture can either directly draw a set of points or a gesture.
The ACanvas parameter specifies the canvas on which the points are to be drawn. APoints is a set of points that describes the gesture's path. AColor specifies the color of the drawn points. AOffset specifies an offset from the canvas' upper-left corner.