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

Method getBounds

shared/java/Bitmap.java:323–326  ·  view source on GitHub ↗

Returns IRect { 0, 0, width(), height() }. @see https://fiddle.skia.org/c/@Bitmap_getBounds_2

()

Source from the content-addressed store, hash-verified

321 * @see <a href="https://fiddle.skia.org/c/@Bitmap_getBounds_2">https://fiddle.skia.org/c/@Bitmap_getBounds_2</a>
322 */
323 @NotNull
324 public IRect getBounds() {
325 return IRect.makeXYWH(0, 0, getWidth(), getHeight());
326 }
327
328 /**
329 * Returns the bounds of this bitmap, offset by its PixelRef origin.

Callers

nothing calls this directly

Calls 2

getWidthMethod · 0.65
getHeightMethod · 0.65

Tested by

no test coverage detected