-
Notifications
You must be signed in to change notification settings - Fork 358
Closed
Labels
guiRelated to arcade GUI (sub module arcade.gui)Related to arcade GUI (sub module arcade.gui)
Description
Bug Report
Actual behavior:
arcade.gui.Surface.draw_texture has following incorrect behavior:
- The check for
angleusesxandyarguments - The check for
alphausesxandyarguments
Lines 100 to 110 in e76f345
| if isinstance(tex, NinePatchTexture): | |
| if x != 0 or y != 0: | |
| raise ValueError("Ninepatch does not support a position != (0,0) yet") | |
| if x != 0 or y != 0: | |
| raise ValueError("Ninepatch does not support a angle != 0 yet") | |
| if x != 0 or y != 0: | |
| raise ValueError("Ninepatch does not support a alpha != 255 yet") | |
| tex.draw_sized(size=(width, height)) |
Expected behavior:
- The angle check uses the
angleargument - The alpha check uses the
alphaargument
Metadata
Metadata
Assignees
Labels
guiRelated to arcade GUI (sub module arcade.gui)Related to arcade GUI (sub module arcade.gui)
Type
Projects
Status
Done