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

Method getVariationAxes

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

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

Callers 2

executeMethod · 0.95
drawMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nGetVariationAxesMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

executeMethod · 0.76