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

Method markerFont

CodenameOne/src/com/codename1/maps/MapView.java:496–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494 }
495
496 private Font markerFont() {
497 if (markerFont == null) {
498 float size = CN.convertToPixels(7f);
499 if (size < 24) {
500 size = 24;
501 }
502 markerFont = FontImage.getMaterialDesignFont().derive(size, Font.STYLE_PLAIN);
503 }
504 return markerFont;
505 }
506
507 private GeneralPath buildPath(List points, boolean close) {
508 GeneralPath path = new GeneralPath();

Callers 1

drawMarkerMethod · 0.95

Calls 3

convertToPixelsMethod · 0.95
getMaterialDesignFontMethod · 0.95
deriveMethod · 0.45

Tested by

no test coverage detected