-
Notifications
You must be signed in to change notification settings - Fork 10
G2D.InvertRect
boxgaming edited this page Jan 20, 2024
·
1 revision
Inverts the colors of a specified rectangle.
Calling the method again in the same position will restore the image to its original color.
G2D.InvertRect x&, y&, width&, height&[, fill~&]
- The rectangle will be drawn with its top left corner at the position specified by the x& and y& parameters.
- The size of the rectangle is defined by the width& and height& parameters.
- The optional fill& parameter indicates whether a filled rectangle should be drawn. If not specified only the outline of the rectangle will be displayed.