GoodGuyOnWeb
Member
I used https://codecrafted.net/svgtoandroid to convert svg to path. The code generated by it includes moveto and cubicto. However there seems to be no such option in b4xpath. How to incorporate moveto and cubicto in b4xpath?
B4X:
private static final Path t = new Path();
t.moveTo(322.33f,505.38f);
t.lineTo(234.29f,728.04f);
t.cubicTo(234.29f,751.89f,253.49f,771.09f,277.33f,771.09f);
t.lineTo(448.38f,771.09f);
t.cubicTo(472.23f,771.09f,491.43f,751.89f,491.43f,728.04f);
t.lineTo(491.43f,548.43f);
t.cubicTo(491.43f,524.58f,472.23f,505.38f,448.38f,505.38f);