You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you offer an api :
moveMarker(View view, double x, double y, float anchorX, float anchorY)
just like
addMarker(View view, double x, double y, float anchorX, float anchorY)。
Because if i move the marker that has an anchorX and anchorY(-1.0, -0.5) like this
moveMarker(View view, x - view.getWidth(), y - view.getHeight() / 2),
but there still have a offset。
If I do it like this: removeMarker(view); addMarker(view, newX, newY). It work well.
The text was updated successfully, but these errors were encountered:
I've updated the old method and added the signature you mentioned. Note that I have not released a new .jar, you'll need to grab the source, nor have I updated the docs (just moved to AS from Eclipse, which had those tasks pretty well baked-in, still getting used to AS).
Can you offer an api :
moveMarker(View view, double x, double y, float anchorX, float anchorY)
just like
addMarker(View view, double x, double y, float anchorX, float anchorY)。
Because if i move the marker that has an anchorX and anchorY(-1.0, -0.5) like this
moveMarker(View view, x - view.getWidth(), y - view.getHeight() / 2),
but there still have a offset。
If I do it like this: removeMarker(view); addMarker(view, newX, newY). It work well.
The text was updated successfully, but these errors were encountered: