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

Method setBaselineSnapped

shared/java/Font.java:251–256  ·  view source on GitHub ↗

Requests that baselines be snapped to pixels when the current transformation matrix is axis aligned. @param value setting for baseline snapping to pixels @return this

(boolean value)

Source from the content-addressed store, hash-verified

249 * @return this
250 */
251 public Font setBaselineSnapped(boolean value) {
252 _resetMetrics();
253 Stats.onNativeCall();
254 _nSetBaselineSnapped(_ptr, value);
255 return this;
256 }
257
258 /**
259 * Whether edge pixels draw opaque or with partial transparency.

Callers 1

drawInterMethod · 0.80

Calls 3

_resetMetricsMethod · 0.95
onNativeCallMethod · 0.95
_nSetBaselineSnappedMethod · 0.95

Tested by

no test coverage detected