Description of MUSHclient world function: world.WindowGradient
Name | WindowGradient |
---|---|
Type | Method |
Summary | Draws a gradient in a rectangle |
Prototype | long WindowGradient(BSTR WindowName, long Left, long Top, long Right, long Bottom, long StartColour, long EndColour, short Mode);
|
Description | Draws a gradient - that is a rectangle that gradually changes from the start colour to the end colour. Note: Available in version 4.35 onwards. |
Lua example |
|
Lua notes |
|
Returns | eNoSuchWindow - no such miniwindow (either source or destination)
|
Introduced in version | 4.35 |
See also ...
Function | Description |
---|---|
WindowCreate | Creates a miniwindow |
WindowCreateImage | Creates an image in a miniwindow |
WindowDrawImage | Draws an image into a miniwindow |
WindowImageInfo | Returns information about an image |
WindowImageList | Lists all images installed into a miniwindow |
WindowImageOp | Draws an ellipse, rectangle or round rectangle, filled with an image |
WindowLoadImage | Loads an image into a miniwindow from a disk file |
Enter a word or phrase in the box below to narrow the list down to those that match.
The function name, prototype, summary, and description are searched.
Leave blank to show all functions.
Many functions return a "code" which indicates the success or otherwise of the function.
You can view a list of the return codes
The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).
You can view a list of the data types used in function prototypes
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.