public class CalligraphyConfig
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CalligraphyConfig.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
CalligraphyConfig(CalligraphyConfig.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static CalligraphyConfig |
get()
The current Calligraphy Config.
|
int |
getAttrId() |
java.lang.String |
getFontPath() |
static void |
initDefault(CalligraphyConfig calligraphyConfig)
Set the default Calligraphy Config
|
boolean |
isCustomViewCreation() |
boolean |
isCustomViewHasTypeface(android.view.View view) |
boolean |
isCustomViewTypefaceSupport() |
boolean |
isReflection() |
protected CalligraphyConfig(CalligraphyConfig.Builder builder)
public static void initDefault(CalligraphyConfig calligraphyConfig)
calligraphyConfig - the config build using the builder.CalligraphyConfig.Builderpublic static CalligraphyConfig get()
public java.lang.String getFontPath()
public boolean isReflection()
public boolean isCustomViewCreation()
public boolean isCustomViewTypefaceSupport()
public boolean isCustomViewHasTypeface(android.view.View view)
public int getAttrId()