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

Method makeFromData

shared/java/Typeface.java:152–155  ·  view source on GitHub ↗

@return a new typeface given a Data @throws IllegalArgumentException If the data is null, or is not a valid font file

(Data data)

Source from the content-addressed store, hash-verified

150 * @throws IllegalArgumentException If the data is null, or is not a valid font file
151 */
152 @NotNull
153 public static Typeface makeFromData(Data data) {
154 return makeFromData(data, 0);
155 }
156
157 /**
158 * @return a new typeface given a Data

Callers 1

executeMethod · 0.95

Calls 3

onNativeCallMethod · 0.95
_nMakeFromDataMethod · 0.95
getPtrMethod · 0.95

Tested by 1

executeMethod · 0.76