User Guide > Objects > Object Actions > On Mouse Click Actions > Changing flooding action


 

This action allows you to change flooding properties of a object when the left mouse button is pressed on the object at run time.

 

 

You can select one of the three flooding types:

 

Transparent - no fill
Fill - solid fill with one color
Gradient fill - gradually change from one color to the next is one of the following types: linear, radial, conical, square, or rectangular

 

For Gradient fill mode you can change the colors, adjust the center point, or change the angle of a fill. You can also adjust the size of the blended area between the solid colors, in detail:

 

 

Center offset x - Specify the center horizontal offset of a fill. Not available for linear fills.

 

Center offset y - Specify the center vertical offset of a fill. Not available for linear fills.

 

Angle - Specify the angle of a linear or conical fill

 

Edge pad - Specify how long the start and end colors remain solid before they start blending.Not available for conical fills.

 

Color from - Specify the start color for the progression

 

Color to - Specify the end color for the progression

 

Mid-point - Specify the midpoint between the two colors

 

You can also set the opacity value for any fill types.

 

 

Available for: polyline, rectangle, ellipse, text , cool text , image.