Description of MUSHclient world function: world.WindowGetPixel
Name | WindowGetPixel |
---|---|
Type | Method |
Summary | Gets the colour of a single pixel in a miniwindow |
Prototype | long WindowGetPixel(BSTR WindowName, long x, long y);
|
Description | Gets a single pixel colour from the miniwindow. Note: Available in version 4.36 onwards. |
Lua example |
|
Returns | -1 if the pixel is out of the range of the window size. |
Introduced in version | 4.36 |
See also ...
Function | Description |
---|---|
WindowArc | Draws an arc in a miniwindow |
WindowBezier | Draws a Bézier curve in a miniwindow |
WindowCircleOp | Draws ellipses, filled rectangles, round rectangles, chords, pies in a miniwindow |
WindowCreate | Creates a miniwindow |
WindowDrawImage | Draws an image into a miniwindow |
WindowLine | Draws a line in a miniwindow |
WindowPolygon | Draws a polygon in a miniwindow |
WindowRectOp | Draws a rectangle in a miniwindow |
WindowSetPixel | Sets a single pixel in a miniwindow to the specified colour |
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.