Functions |
gradient
|
| Description |
Create a gradient in the background of the specified
datawindow using the specified colours. This function
can be called multiple times as it deletes the old
gradient before creating the new one, you might want
to set redraw off before making the call.
|
| Return |
integer
1, Gradient created sucessfully
-1, Gradient failed
|
| Access |
public
|
| Arguments |
| Argument |
DataType |
Description |
| adw_dw |
datawindow |
Datawindow to create gradient
|
| ai_width |
integer |
Width for the gradient
|
| as_band |
string |
DW Band to create the gradient in
|
| ai_red |
integer |
Red Value in range 0 - 255
|
| ai_green |
integer |
Green Value in range 0 - 255
|
| ai_blue |
integer |
Blue Value in range 0 - 255 |
|
| Usage |
lnc_Gradient.Gradient( dw_1, 255, 0 ,0 )
|
|