You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework new Image constructors accepting a ImageGcDrawer
When implementing the ImageGCDrawer as lambda, the resulting code is
better to read if the ImageGCDrawer is passed as last argument:
'''
new Image(device, 16, 16, (gc, w, h) -> {
gc.draw ...
})
'''
Furthermore this way the argument order also better reflects the order
in which the arguments are applied:
1. an image with the given size is created.
2. the GC draws on that image
Follow-up on
- #1734
0 commit comments