Interface administrators, moderator
2,603
edits
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
|parameter2 = Vec3 position The 2D position for the rectangle, in pixels. | |parameter2 = Vec3 position The 2D position for the rectangle, in pixels. | ||
|parameter3 = Vec3 size The 2D size for the rectangle, in pixels. | |parameter3 = Vec3 size The 2D size for the rectangle, in pixels. | ||
|parameter4 = int colour1 optional COLOUR_WHITE The 1st colour for the rectangle. | |parameter4 = int colour1 optional COLOUR_WHITE The 1st colour for the rectangle, created by [[toColour|toColour]]. | ||
|parameter5 = int colour2 optional COLOUR_WHITE The 2nd colour for the rectangle. | |parameter5 = int colour2 optional COLOUR_WHITE The 2nd colour for the rectangle, created by [[toColour|toColour]]. | ||
|parameter6 = int colour3 optional COLOUR_WHITE The 3rd colour for the rectangle. | |parameter6 = int colour3 optional COLOUR_WHITE The 3rd colour for the rectangle, created by [[toColour|toColour]]. | ||
|parameter7 = int colour4 optional COLOUR_WHITE The 4th colour for the rectangle. | |parameter7 = int colour4 optional COLOUR_WHITE The 4th colour for the rectangle, created by [[toColour|toColour]]. | ||
|parameter8 = float rotation optional 0.0 The rotation of the rectangle. | |parameter8 = float rotation optional 0.0 The rotation of the rectangle. | ||
|parameter9 = Vec2 center optional Vec2(0.0,0.0) The center of the rectangle. | |parameter9 = Vec2 center optional Vec2(0.0,0.0) The center of the rectangle. |