Return a new typeface based on this typeface but parameterized as specified in the variation. If the variation does not supply an argument for a parameter in the font then the value from this typeface will be used as the value for that argument. @param variation axis position @return same typef
(FontVariation variation)
| 113 | * @throws IllegalArgumentException on failure |
| 114 | */ |
| 115 | public Typeface makeClone(FontVariation variation) { |
| 116 | return makeClone(FontArguments.DEFAULT.withVariations(new FontVariation[] { variation })); |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * Return a new typeface based on this typeface but parameterized as specified in the |