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

Method matchStyle

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

Source from the content-addressed store, hash-verified

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

Callers 2

executeMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nMatchStyleMethod · 0.95

Tested by 1

executeMethod · 0.64