Pike v8.1 release 6

Method 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.