Texture.fill

Sets the RGBA color of the entire specified region
overload 1:
Texture:fill(x, y, width, height, rgb)
Method Property Fluent Description Representation
x accepts an Integer
y accepts an Integer
width accepts an Integer
height accepts an Integer
rgb accepts a Vector3
Return Value a Texture
overload 2:
Texture:fill(x, y, width, height, rgba)
Method Property Fluent Description Representation
x accepts an Integer
y accepts an Integer
width accepts an Integer
height accepts an Integer
rgba accepts a Vector4
Return Value a Texture
overload 3:
Texture:fill(x, y, width, height, r, g, b, a)
Method Property Fluent Description Representation
x accepts an Integer
y accepts an Integer
width accepts an Integer
height accepts an Integer
r accepts a Number
g accepts a Number
b accepts a Number
a accepts a Number
Return Value a Texture
a a