add Java APIs needed for WhatsApp MainActivity and ConversationActivity

This commit is contained in:
Julian Winkler
2024-08-25 11:20:01 +02:00
parent 9d8e091799
commit c492e1f03f
74 changed files with 903 additions and 69 deletions

View File

@@ -423,6 +423,10 @@ public class Path {
native_arcTo(mNativePath, oval, startAngle, sweepAngle, false);
}
public void arcTo(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) {
arcTo(new RectF(left, top, right, bottom), startAngle, sweepAngle, forceMoveTo);
}
/**
* Close the current contour. If the current point is not equal to the
* first point of the contour, a line segment is automatically added.