sinobra Posted January 20, 2021 Share Posted January 20, 2021 I am somewhat confused as to how I should correctly reposition text. In the Codepen example I can move a circle by supplying new {cx and cy} attributes. For the text that serves as a label to the circle, I thought that I could merely supply new {x and y} coordinates for the text and the span elements. Nope! Do I have to imitate a path, and provide the offsets in x and y to the new position? See the Pen JjRVjVV by sinobra (@sinobra) on CodePen Link to comment Share on other sites More sharing options...
sinobra Posted January 20, 2021 Author Share Posted January 20, 2021 Oh, never mind. Yeah, I have to supply the offsets to the new position. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now