MCPcopy Create free account
hub / github.com/HumbleUI/Skija / BitmapImageScene

Method BitmapImageScene

examples/scenes/src/BitmapImageScene.java:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 public int x, y;
15
16 public BitmapImageScene() {
17 try {
18 image = Image.makeDeferredFromEncodedBytes(Files.readAllBytes(Path.of(file("images/IMG_7098.jpeg"))));
19 } catch (IOException e) {
20 throw new RuntimeException(e);
21 }
22 }
23
24 public void advance(Canvas canvas, int width) {
25 canvas.restore();

Callers

nothing calls this directly

Calls 2

fileMethod · 0.80

Tested by

no test coverage detected