Thanks to various external contributors for these patches.
Thanks to various external contributors for these patches.
Canvas.fillRoundRect/strokeRoundRect.Canvas with pixel size and scale.RoboPlatform.willTerminate.Scale.roundToNearestPixel for aligning things to pixel grid on scaled displays.Assets now looks for higher resolution resource to scale down before looking for a
lower resolution resource to scale up.Input.focus signal which is emitted when app gains and loses focus. Note that on
desktop, HTML and other platforms that support window focus, this is different from the enter app
being paused and resumed.Input.getText now allows you to pass in the text to use for the Ok and Cancel
buttons.Exec.invokeNextFrame which allows an action to be queued up that will run on the
next frame tick (and only the next frame tick). This also documents that Exec.invokeLater can
possibly run your action on an OS UI thread when the app is paused and the frame tick is not
running.ImageLayer now references new texture before releasing old one. This avoids freeing and
recreating the same texture in certain edge cases.Storage.Input.getText dialogs are popped
up. Previously the user had to tap in the text entry field to show the keyboard.close method for explicitly freeing GPU resources (texture) associated
with Image.Activity.onDestroy. We no longer use the cache
directory and the app might be using it for its own purposes.GL20 and Canvas.save methods which were removed in later Android
SDK versions.payloadImage. Note: this is not available on the HTML backend.keyEvents for example.isLoaded now only returns true if the image was successfully loaded (not if it
failed). This is more likely to be what the caller wants.drawArc.keyboardEnabled, mouseEnabled and touchEnabled were not actually
being honored.createPath and createGradient (back) to Graphics. They’re also available on
Canvas, but sometimes you want to create them without having a Canvas instance around.Clip handling different audio formats.Graphics.deviceOrient and
Graphics.orientationDetail.isMainThread.DEBUG_RECTS.visit and debugPrint.roboipa profile to archetype project. Makes it easier to build IPAs.readBytes: buffer was not being flipped.