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

Method setMetricsLinear

shared/java/Font.java:224–229  ·  view source on GitHub ↗

Requests, but does not require, linearly scalable font and glyph metrics. For outline fonts 'true' means font and glyph metrics should ignore hinting and rounding. Note that some bitmap formats may not be able to scale linearly and will ignore this flag. @param value setting for linearly scalable

(boolean value)

Source from the content-addressed store, hash-verified

222 * @return this
223 */
224 public Font setMetricsLinear(boolean value) {
225 _resetMetrics();
226 Stats.onNativeCall();
227 _nSetMetricsLinear(_ptr, value);
228 return this;
229 }
230
231 /**
232 * Increases stroke width when creating glyph bitmaps to approximate a bold typeface.

Callers 3

drawInterMethod · 0.80
drawModesMethod · 0.80
drawModesMethod · 0.80

Calls 3

_resetMetricsMethod · 0.95
onNativeCallMethod · 0.95
_nSetMetricsLinearMethod · 0.95

Tested by

no test coverage detected