MCPcopy Create free account
hub / github.com/JetBrains/skija / getBounds

Method getBounds

shared/java/Bitmap.java:297–300  ·  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

295 * @see <a href="https://fiddle.skia.org/c/@Bitmap_getBounds_2">https://fiddle.skia.org/c/@Bitmap_getBounds_2</a>
296 */
297 @NotNull
298 public IRect getBounds() {
299 return IRect.makeXYWH(0, 0, getWidth(), getHeight());
300 }
301
302 /**
303 * Returns the bounds of this bitmap, offset by its PixelRef origin.

Callers

nothing calls this directly

Calls 3

makeXYWHMethod · 0.95
getWidthMethod · 0.65
getHeightMethod · 0.65

Tested by

no test coverage detected