### Konva: get corners coordinate of a rotated rectangle

How can i get corners coordinate of a rotated rectangle (with center of rectangle as pivot) ? i already tried all of the solution from the link below but seems haven’t got any luck. Rotating a point about another point (2D) Find corners of a rotated rectangle given its center point and rotation https://gamedev.stackexchange.com/questions/86755/how-to-calculate-corner-positions-marks-of-a-rotated-tilted-rectangle here’s…

Details