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

Method drawImage

CodenameOne/src/com/codename1/ui/Graphics.java:930–932  ·  view source on GitHub ↗
(Image img, int x, int y)

Source from the content-addressed store, hash-verified

928 ///
929 /// - `y`: the y coordinate.
930 public void drawImage(Image img, int x, int y) {
931 img.drawImage(this, nativeGraphics, x, y);
932 }
933
934 /// Draws the image so its top left coordinate corresponds to x/y and scales it to width/height
935 ///

Callers 15

toImageMethod · 0.95
adaptImageMethod · 0.95
onSucessMethod · 0.95
paintShadowsMethod · 0.95
runMethod · 0.95
tileImageMethod · 0.95
createTargetImageMethod · 0.95
createTargetImageMethod · 0.95
saveMethod · 0.95
dropshadowMethod · 0.95
startSplashScreenMethod · 0.95
generateImageBasedMethod · 0.95

Calls 4

drawImageMethod · 0.65
scaledMethod · 0.45
drawImageRotatedMethod · 0.45