Vcl.Touch.GestureCtrls.TCustomGestureRecorder.GradientDirection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property GradientDirection: TGradientDirection read FGradientDirection

C++

__property Vcl::Graphutil::TGradientDirection GradientDirection = {read=FGradientDirection, write=SetGradientDirection, default=1};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Touch.GestureCtrls.pas
Vcl.Touch.GestureCtrls.hpp
Vcl.Touch.GestureCtrls TCustomGestureRecorder

Description

Specifies the direction of the gradient.

Use GradientDirection to specify the direction of the gradient used to draw the gesture recorder control. The value of GradientDirection is only relevant when the DrawingStyle property has the value of dsGradient.

Specify the gradient start and end colors using the GradientStartColor and GradientEndColor properties.

See Also