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

Method getRGB

CodenameOne/src/com/codename1/ui/Image.java:1593–1600  ·  view source on GitHub ↗
(int[] rgbData,
                int offset,
                int x,
                int y,
                int width,
                int height)

Source from the content-addressed store, hash-verified

1591 ///
1592 /// - `height`: the height of the region
1593 void getRGB(int[] rgbData,
1594 int offset,
1595 int x,
1596 int y,
1597 int width,
1598 int height) {
1599 Display.impl.getRGB(image, rgbData, offset, x, y, width, height);
1600 }
1601
1602 /// Extracts data from this image into the given RGBImage
1603 ///

Callers 15

applyMaskMethod · 0.95
subImageMethod · 0.95
mirrorMethod · 0.95
modifyAlphaMethod · 0.95
toRGBMethod · 0.95
getRGBImplMethod · 0.95
scaleArrayMethod · 0.95
paintRoundedBorderMethod · 0.95
getRGBMethod · 0.95
generatePortraitImageMethod · 0.95
generateImageBasedMethod · 0.95

Calls 3

getRGBImplMethod · 0.95
getWidthMethod · 0.95
getHeightMethod · 0.95

Tested by 15

runChecksMethod · 0.76
runTestMethod · 0.76
testFillRectReadbackMethod · 0.76
testFillShapeReadbackMethod · 0.76
runTestMethod · 0.76
runTestMethod · 0.76
testGetRGBMethod · 0.76