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

Method setSubpixel

shared/java/Font.java:208–213  ·  view source on GitHub ↗

Requests, but does not require, that glyphs respect sub-pixel positioning. @param value setting for sub-pixel positioning @return this

(boolean value)

Source from the content-addressed store, hash-verified

206 * @return this
207 */
208 public Font setSubpixel(boolean value) {
209 _resetMetrics();
210 Stats.onNativeCall();
211 _nSetSubpixel(_ptr, value);
212 return this;
213 }
214
215 /**
216 * Requests, but does not require, linearly scalable font and glyph metrics.

Callers 12

drawInterMethod · 0.80
drawTestKernMethod · 0.80
drawTestSubpixelMethod · 0.80
drawModesMethod · 0.80
drawMethod · 0.80
FigmaSceneMethod · 0.80
TextLineSceneClass · 0.80
drawModesMethod · 0.80
drawMethod · 0.80
TextShapeBenchSceneMethod · 0.80
SceneClass · 0.80

Calls 3

_resetMetricsMethod · 0.95
onNativeCallMethod · 0.95
_nSetSubpixelMethod · 0.95

Tested by

no test coverage detected