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
I want to set text to center of video, alignCenter() didn't do it. It's possible to center text if text width is measured after setStyle() then set x coordinate of text to (video_width-text_width)/2, but setXY() is only working before using setStyle().
The text was updated successfully, but these errors were encountered:
I want to set text to center of video,
alignCenter()
didn't do it. It's possible to center text if text width is measured aftersetStyle()
then set x coordinate of text to(video_width-text_width)/2
, butsetXY()
is only working before usingsetStyle()
.The text was updated successfully, but these errors were encountered: