MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getGraphics

Method getGraphics

CodenameOne/src/com/codename1/ui/Image.java:1470–1474  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1468 ///
1469 /// Graphics object allowing us to manipulate the content of a mutable image
1470 public Graphics getGraphics() {
1471 Graphics g = new Graphics(Display.impl.getNativeGraphics(image));
1472 rgbCache = null; // the cache will become invalid
1473 return g;
1474 }
1475
1476 /// Returns the width of the image
1477 ///

Callers 15

getImageMethod · 0.95
createRoundThumbImageMethod · 0.95
getCroppedImageMethod · 0.95
rasterizeMethod · 0.95
labelDiscMethod · 0.95
screenshotMethod · 0.95
toImageMethod · 0.95
adaptImageMethod · 0.95
onSucessMethod · 0.95
initDialogBgPainterMethod · 0.95

Calls 1

getNativeGraphicsMethod · 0.45

Tested by 15

screenshotTestMethod · 0.76
tryPaintHeadlessMethod · 0.76
runMethod · 0.76
captureMethod · 0.76
captureCurrentScreenMethod · 0.76
saveScreenshotMethod · 0.76
buildGridMethod · 0.76
paintMethod · 0.76
buildBadgeMethod · 0.76
runTestMethod · 0.76
paintFrameMethod · 0.76
testFillRectReadbackMethod · 0.76