rectangle


Description:


public void rectangle (float x_1, float y_1, float x_2, float y_2)

Fills a rectangle at the given coordinates with the current source material

Parameters:

x_1

X coordinate of the top-left corner

y_1

Y coordinate of the top-left corner

x_2

X coordinate of the bottom-right corner

y_2

Y coordinate of the bottom-right corner


Namespace: Cogl
Package: cogl-1.0