Border width = c.getCurrentStyle().getBorderWidth(c.getCtx());
BorderPropertySet width = c.getCurrentStyle().getBorder(c.getCtx());
    private static boolean hasTopBorderOrPadding(Context c, float parentWidth) {        Border width = c.getCurrentStyle().getBorderWidth(c.getCtx());        RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx());        return width.top != 0 || (int)padding.top() != 0;    }