Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ getClip
Method
getClip
CodenameOne/src/com/codename1/ui/Graphics.java:284–286 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
282
///
283
/// clip array copy
284
public
int
[] getClip() {
285
return
new
int
[]{getClipX(), getClipY(), getClipWidth(), getClipHeight()};
286
}
287
288
/// Sets the clip from an array containing x, y, width, height value
289
///
Callers
12
drawImagePreservesClipAndScales
Method · 0.95
paintGlassImpl
Method · 0.80
paint
Method · 0.80
paintBorderBackground
Method · 0.80
paint
Method · 0.80
getClipBounds
Method · 0.80
paint
Method · 0.80
drawContent
Method · 0.80
pushClip
Method · 0.80
drawImage
Method · 0.80
drawImage
Method · 0.80
testGetClipAccountsForTranslation
Method · 0.80
Calls
4
getClipX
Method · 0.95
getClipY
Method · 0.95
getClipWidth
Method · 0.95
getClipHeight
Method · 0.95
Tested by
5
drawImagePreservesClipAndScales
Method · 0.76
drawContent
Method · 0.64
drawImage
Method · 0.64
drawImage
Method · 0.64
testGetClipAccountsForTranslation
Method · 0.64