Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ setColor
Method
setColor
CodenameOne/src/com/codename1/gpu/Light.java:72–75 ·
view source on GitHub ↗
(int argb)
Source
from the content-addressed store, hash-verified
70
///
71
/// this light for chaining
72
public
Light setColor(
int
argb) {
73
this.color = argb;
74
return
this;
75
}
76
77
/// Returns the ambient color as a packed ARGB integer.
78
public
int
getAmbientColor() {
Callers
15
onSetup
Method · 0.95
drawAttribution
Method · 0.45
drawPointer
Method · 0.45
drawDebug
Method · 0.45
paintLoadingText
Method · 0.45
drawPolyline
Method · 0.45
drawPolygon
Method · 0.45
drawCircle
Method · 0.45
drawMarker
Method · 0.45
applyColor
Method · 0.45
draw
Method · 0.45
paint
Method · 0.45
Calls
no outgoing calls
Tested by
15
drawGridLines
Method · 0.36
drawCellOverlay
Method · 0.36
paint
Method · 0.36
onInit
Method · 0.36
paint
Method · 0.36
renderFrame
Method · 0.36
onInit
Method · 0.36
paintGlassPane
Method · 0.36
renderFrame
Method · 0.36
renderFrame
Method · 0.36
nextColor
Method · 0.36
paint
Method · 0.36