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

Method clipRect

CodenameOne/src/com/codename1/ui/Graphics.java:502–504  ·  view source on GitHub ↗
(int x, int y, int width, int height)

Source from the content-addressed store, hash-verified

500 ///
501 /// - `height`: the height of the rectangle to intersect the clip with
502 public void clipRect(int x, int y, int width, int height) {
503 impl.clipRect(nativeGraphics, xTranslate + x, yTranslate + y, width, height);
504 }
505
506 /// Updates the clipping region to match the given region exactly
507 ///

Callers 15

fillShapeMethod · 0.95
tileImageMethod · 0.95
paintMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
clipToMethod · 0.45
renderComponentMethod · 0.45
drawCharMethod · 0.45
drawStringMethod · 0.45
drawCharsMethod · 0.45

Calls

no outgoing calls

Tested by 4

drawContentMethod · 0.36
drawContentMethod · 0.36
drawContentMethod · 0.36
drawImageMethod · 0.36