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

Method getVariationAxes

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

66 * @return the variation coordinates describing the position of this typeface in design variation space, null if there’s no variations
67 */
68 @Nullable
69 public FontVariationAxis[] getVariationAxes() {
70 try {
71 Stats.onNativeCall();
72 return _nGetVariationAxes(_ptr);
73 } finally {
74 Reference.reachabilityFence(this);
75 }
76 }
77
78 /**
79 * @return a 32bit value for this typeface, unique for the underlying font data. Never 0

Callers 2

executeMethod · 0.95
drawMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nGetVariationAxesMethod · 0.95

Tested by 1

executeMethod · 0.76