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

Method getVariations

shared/java/Typeface.java:56–64  ·  view source on GitHub ↗

It is possible the number of axes can be retrieved but actual position cannot. @return the variation coordinates describing the position of this typeface in design variation space, null if there’s no variations

()

Source from the content-addressed store, hash-verified

54 * @return the variation coordinates describing the position of this typeface in design variation space, null if there’s no variations
55 */
56 @Nullable
57 public FontVariation[] getVariations() {
58 try {
59 Stats.onNativeCall();
60 return _nGetVariations(_ptr);
61 } finally {
62 ReferenceUtil.reachabilityFence(this);
63 }
64 }
65
66 /**
67 * It is possible the number of axes can be retrieved but actual position cannot.

Callers 2

executeMethod · 0.95
drawLineMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nGetVariationsMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

executeMethod · 0.76