@return a new typeface given a file @throws IllegalArgumentException If the file does not exist, or is not a valid font file
(String path)
| 128 | * @throws IllegalArgumentException If the file does not exist, or is not a valid font file |
| 129 | */ |
| 130 | @NotNull |
| 131 | public static Typeface makeFromFile(String path) { |
| 132 | return makeFromFile(path, 0); |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * @return a new typeface given a file |