Description of MUSHclient world function: world.WindowDrawImageAlpha
Name | WindowDrawImageAlpha |
---|---|
Type | Method |
Summary | Draws an image into a miniwindow respecting the alpha channel |
Prototype | long WindowDrawImageAlpha(BSTR WindowName, BSTR ImageId, long Left, long Top, long Right, long Bottom, double Opacity, long SrcLeft, long SrcTop);
|
Description | This copies an image to the miniwindow, using the alpha channel to show transparent areas. Note: Available in version 4.42 onwards. |
Lua example |
|
Returns | eNoSuchWindow - no such miniwindow
|
Introduced in version | 4.42 |
See also ...
Function | Description |
---|---|
WindowCreate | Creates a miniwindow |
WindowCreateImage | Creates an image in a miniwindow |
WindowDrawImage | Draws an image into a miniwindow |
WindowDrawImageAlpha | Draws an image into a miniwindow respecting the alpha channel |
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 |
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.