public void fillTranslationData(BaseDanmaku item, float beginX, float beginY,
                                    float endX, float endY, long translationDuration, long translationStartDelay,
                                    float scaleX, float scaleY) {
        if (item.getType() != BaseDanmaku.TYPE_SPECIAL)
            return;
        ((SpecialDanmaku) item).setTranslationData(beginX * scaleX, beginY * scaleY, endX * scaleX,
                endY * scaleY, translationDuration, translationStartDelay);
        updateSpecicalDanmakuDuration(item);
    }
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