public RectF getBorder(RectF border) {
        if (mBorder != null && border != null)
            border.set(mBorder);
        return border;
    }
This class is draw line on border
Line is support dash line
This class is extend shape
Use to ShapeDrawable class
caprice/ui/src/main/java/net/qiujuer/genius/ui/drawable/shape/BorderShape.java