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

Method matchStyle

shared/java/FontStyleSet.java:51–59  ·  view source on GitHub ↗
(FontStyle style)

Source from the content-addressed store, hash-verified

49 }
50
51 public Typeface matchStyle(FontStyle style) {
52 try {
53 Stats.onNativeCall();
54 long ptr = _nMatchStyle(_ptr, style._value);
55 return ptr == 0 ? null : new Typeface(ptr);
56 } finally {
57 ReferenceUtil.reachabilityFence(this);
58 }
59 }
60
61 @ApiStatus.Internal
62 public FontStyleSet(long ptr) {

Calls 3

onNativeCallMethod · 0.95
_nMatchStyleMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

baseMethod · 0.64