public static void fillLinePathData(BaseDanmaku item, float[][] points, float scaleX,
                                        float scaleY) {
        if (item.getType() != BaseDanmaku.TYPE_SPECIAL || points.length == 0
                || points[0].length != 2)
            return;
        for (int i = 0; i < points.length; i++) {
            points[i][0] *= scaleX;
            points[i][1] *= scaleY;
        }
        ((SpecialDanmaku) item).setLinePathData(points);
    }
Initial translation data of the special danmaku

@param item
@param beginX
@param beginX
@param beginY
@param endX
@param endY
@param translationDuration
@param translationStartDelay
app/src/main/java/com/sunnyweather/android/flame/master/flame/danmaku/danmaku/model/android/DanmakuFactory.java