MCPcopy Create free account
hub / github.com/JetBrains/skija / getVariations

Method getVariations

shared/java/Typeface.java:54–62  ·  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

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

Callers 2

executeMethod · 0.95
drawLineMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nGetVariationsMethod · 0.95

Tested by 1

executeMethod · 0.76