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

Method getMaskedIcon

CodenameOne/src/com/codename1/ui/Label.java:1258–1269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1256 ///
1257 /// the icon masked or otherwise
1258 public Image getMaskedIcon() {
1259 if (maskedIcon != null) {
1260 return maskedIcon;
1261 }
1262 if (mask != null) {
1263 if (icon != null) {
1264 maskedIcon = icon.applyMaskAutoScale(mask);
1265 return maskedIcon;
1266 }
1267 }
1268 return icon;
1269 }
1270
1271 /// {@inheritDoc}
1272 @Override

Callers 12

getIconFromStateMethod · 0.95
getIconFromStateMethod · 0.80
drawLabelMethod · 0.80
calculateLabelSpanMethod · 0.80
getLabelPreferredSizeMethod · 0.80
invoke6Method · 0.80
invoke0Method · 0.80
invoke1Method · 0.80

Calls 1

applyMaskAutoScaleMethod · 0.80

Tested by 1