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

Method toRGB

CodenameOne/src/com/codename1/ui/Image.java:1621–1629  ·  view source on GitHub ↗
(RGBImage image,
                      int destX,
                      int destY,
                      int x,
                      int y,
                      int width,
                      int height)

Source from the content-addressed store, hash-verified

1619 ///
1620 /// - `height`: size of the image to extract from the source image
1621 public void toRGB(RGBImage image,
1622 int destX,
1623 int destY,
1624 int x,
1625 int y,
1626 int width,
1627 int height) {
1628 getRGB(image.getRGB(), destX + destY * image.getWidth(), x, y, width, height);
1629 }
1630
1631 /// Returns the content of this image as a newly created ARGB array.
1632 ///

Callers 2

reflectionImageMethod · 0.45
invoke8Method · 0.45

Calls 2

getRGBMethod · 0.95
getWidthMethod · 0.65

Tested by

no test coverage detected