Vcl.Touch.GestureCtrls.TGesturePreview.GradientDirection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property GradientDirection;

C++

__property GradientDirection = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Touch.GestureCtrls.pas
Vcl.Touch.GestureCtrls.hpp
Vcl.Touch.GestureCtrls TGesturePreview

Description

Specifies the direction of the gradient.

Vcl.Touch.GestureCtrls.TGesturePreview.GradientDirection inherits from Vcl.Touch.GestureCtrls.TCustomGesturePreview.GradientDirection. All content below this line refers to Vcl.Touch.GestureCtrls.TCustomGesturePreview.GradientDirection.

Specifies the direction of the gradient.

Use GradientDirection to specify the direction of the gradient used to draw the gesture preview 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