List of usage examples for com.facebook.react.uimanager ViewProps BORDER_LEFT_WIDTH
String BORDER_LEFT_WIDTH
To view the source code for com.facebook.react.uimanager ViewProps BORDER_LEFT_WIDTH.
Click Source Link
From source file:com.rnnestedscrollview.ReactNestedScrollViewManager.java
License:MIT License
@ReactPropGroup(names = { ViewProps.BORDER_WIDTH, ViewProps.BORDER_LEFT_WIDTH, ViewProps.BORDER_RIGHT_WIDTH, ViewProps.BORDER_TOP_WIDTH, ViewProps.BORDER_BOTTOM_WIDTH, }, defaultFloat = YogaConstants.UNDEFINED) public void setBorderWidth(ReactNestedScrollView view, int index, float width) { if (!YogaConstants.isUndefined(width)) { width = PixelUtil.toPixelFromDIP(width); }/* w w w .ja va 2 s . c om*/ view.setBorderWidth(SPACING_TYPES[index], width); }