add_texture_rectangle


Description:

public void add_texture_rectangle (ActorBox rect, float x_1, float y_1, float x_2, float y_2)

Adds a rectangle region to the this, with texture coordinates.

Parameters:

this

a PaintNode

rect

a ActorBox

x_1

the left X coordinate of the texture

y_1

the top Y coordinate of the texture

x_2

the right X coordinate of the texture

y_2

the bottom Y coordinate of the texture