public class YogaConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SPACING_TYPE |
| Constructor and Description |
|---|
YogaConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
YogaLogger |
getLogger() |
void |
setExperimentalFeatureEnabled(YogaExperimentalFeature feature,
boolean enabled) |
void |
setLogger(YogaLogger logger) |
void |
setPointScaleFactor(float pixelsInPoint) |
void |
setUseLegacyStretchBehaviour(boolean useLegacyStretchBehaviour)
Yoga previously had an error where containers would take the maximum space possible instead of the minimum
like they are supposed to.
|
void |
setUseWebDefaults(boolean useWebDefaults) |
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void setExperimentalFeatureEnabled(YogaExperimentalFeature feature, boolean enabled)
public void setUseWebDefaults(boolean useWebDefaults)
public void setPointScaleFactor(float pixelsInPoint)
public void setUseLegacyStretchBehaviour(boolean useLegacyStretchBehaviour)
public void setLogger(YogaLogger logger)
public YogaLogger getLogger()