Previous Up Next

_DRAWgradient
Required : scol v4.5

Draw a color gradient inside a bitmap.

ObjBitmap _DRAWgradient (
ObjBitmap _bitmap_
I _x_
I _y_
I _width_
I _height_
I _color1_
I _color2_
I _angle_
)
Parameters

_bitmap_
any bitmap
_x_
x coordinate of upper-left corner
_y_
y coordinate of upper-left corner
_width_
width
_height_
height
_color1_
first color of gradient (24bits)
_color2_
second color of gradient (24bits)
_angle_
gradient angle in degrees : [0, 360]
Return value

same bitmap