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 |
onNodeCloned(YogaNode oldNode,
YogaNode newNode,
YogaNode parent,
int childIndex) |
void |
setExperimentalFeatureEnabled(YogaExperimentalFeature feature,
boolean enabled) |
void |
setLogger(YogaLogger logger) |
void |
setOnNodeCloned(YogaNodeClonedFunction nodeClonedFunction) |
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.Object
java.lang.Throwable
public 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()
public void setOnNodeCloned(YogaNodeClonedFunction nodeClonedFunction)