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

Method makeStyleSet

shared/java/FontMgr.java:28–36  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

26 }
27
28 public FontStyleSet makeStyleSet(int index) {
29 try {
30 Stats.onNativeCall();
31 long ptr = _nMakeStyleSet(_ptr, index);
32 return ptr == 0 ? null : new FontStyleSet(ptr);
33 } finally {
34 ReferenceUtil.reachabilityFence(this);
35 }
36 }
37
38 /**
39 * The caller must call {@link #close()} on the returned object.

Callers 1

baseMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nMakeStyleSetMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

baseMethod · 0.64