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

Method setHinting

shared/java/Font.java:296–301  ·  view source on GitHub ↗

Sets level of glyph outline adjustment. Does not check for valid values of hintingLevel.

(FontHinting value)

Source from the content-addressed store, hash-verified

294 * Sets level of glyph outline adjustment. Does not check for valid values of hintingLevel.
295 */
296 public Font setHinting(FontHinting value) {
297 _resetMetrics();
298 Stats.onNativeCall();
299 _nSetHinting(_ptr, value.ordinal());
300 return this;
301 }
302
303 /**
304 * Returns a font with the same attributes of this font, but with the specified size.

Callers 3

drawInterMethod · 0.80
drawModesMethod · 0.80

Calls 3

_resetMetricsMethod · 0.95
onNativeCallMethod · 0.95
_nSetHintingMethod · 0.95

Tested by

no test coverage detected