[6.5.0][overlay] 画线时,添加是否绘制箭头开关

This commit is contained in:
renwj
2024-06-13 17:54:12 +08:00
parent 78db9ad9a2
commit 46c27a969b
2 changed files with 18 additions and 0 deletions

View File

@@ -229,6 +229,16 @@ public class ObjectUtils {
target.setIsBright(true);
target.setBrightColor(options.getLightColor());
target.setBrightSpeed(options.getLightSpeed());
} else {
target.setIsBright(false);
}
Bitmap bitmap = options.getCustomTexture();
if (bitmap != null) {
target.useTexture(true);
target.customTexture(bitmap);
}
if (options.isShowArrow()) {
target.setIsArrow(true);
}
return target;
}