private void initPath(float startX, float startY, float endX, float endY) {
        mPath.reset();
        mPath.moveTo(startX, startY);
        mPath.lineTo(endX, endY);
    }
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