pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
GLUE

GLUE.draw_obox()


Method draw_obox

void draw_obox(float x0, float y0, float x1, float y1, array(Image.Color.Color)|Image.Color.Color c, void|array(float)|float a)

Description

Draw a box outline around the specified coordinates. c is either a single color, in which case it will be used for all corners, or an array of four colors, which will be used for each corner.

a is similar to c , but is the alpha values for each coordinate.

Module reference for Pike v7.8 release 116, 2008-12-31