MCPcopy Create free account
hub / github.com/HumbleUI/Skija / setEmboldened

Method setEmboldened

shared/java/Font.java:237–242  ·  view source on GitHub ↗

Increases stroke width when creating glyph bitmaps to approximate a bold typeface. @param value setting for bold approximation @return this

(boolean value)

Source from the content-addressed store, hash-verified

235 * @return this
236 */
237 public Font setEmboldened(boolean value) {
238 _resetMetrics();
239 Stats.onNativeCall();
240 _nSetEmboldened(_ptr, value);
241 return this;
242 }
243
244 /**
245 * Requests that baselines be snapped to pixels when the current transformation matrix is axis

Callers 1

drawInterMethod · 0.80

Calls 3

_resetMetricsMethod · 0.95
onNativeCallMethod · 0.95
_nSetEmboldenedMethod · 0.95

Tested by

no test coverage detected