Expose setPointScaleFactor to java
Summary: Expose setPointScaleFactor to java Reviewed By: gkassabli Differential Revision: D4953835 fbshipit-source-id: b1f97d9ec1bb78ccf7f53131fce87955fe66eb02
This commit is contained in:
committed by
Facebook Github Bot
parent
fde4db9383
commit
8f9d7e243e
@@ -51,4 +51,9 @@ public class YogaConfig {
|
||||
public void setUseWebDefaults(boolean useWebDefaults) {
|
||||
jni_YGConfigSetUseWebDefaults(mNativePointer, useWebDefaults);
|
||||
}
|
||||
|
||||
private native void jni_YGConfigSetPointScaleFactor(long nativePointer, float pixelsInPoint);
|
||||
public void setPointScaleFactor(float pixelsInPoint) {
|
||||
jni_YGConfigSetPointScaleFactor(mNativePointer, pixelsInPoint);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user