@FunctionalInterface public interface IPreloadFontResolver
| Modifier and Type | Method and Description |
|---|---|
default PreloadFont |
getPreloadFontOfID(com.helger.font.api.IFontResource aFontRes)
Get the
PreloadFont from the provided font resource. |
default PreloadFont |
getPreloadFontOfID(com.helger.font.api.IHasFontResource aFontResProvider)
Get the
PreloadFont from the provided font resource provider. |
PreloadFont |
getPreloadFontOfID(String sID)
Get the
PreloadFont with the provided ID. |
@Nullable PreloadFont getPreloadFontOfID(@Nullable String sID)
PreloadFont with the provided ID.sID - The ID to be resolved. May be null.null if no such PreloadFont exists.@Nullable default PreloadFont getPreloadFontOfID(@Nullable com.helger.font.api.IFontResource aFontRes)
PreloadFont from the provided font resource.aFontRes - The font resource to be resolved. May be null.null if no such PreloadFont exists.@Nullable default PreloadFont getPreloadFontOfID(@Nullable com.helger.font.api.IHasFontResource aFontResProvider)
PreloadFont from the provided font resource provider.aFontResProvider - The font resource provided from which to be resolved. May be
null.null if no such PreloadFont exists.Copyright © 2014–2016 Philip Helger. All rights reserved.