I have custom annotations built on the BoxAnnotation base class. The annotations have a rotation feature so that their content can be rotated.
RenderTransform is applied down to BoxAnnotation itself, so that it’s contents are rotated all along with the handlers. But resize grips are staying the same. Is it possible to pass the existing transform (the one applied to the content) also to the grips?
- Andrey Zheltyak asked 3 years ago
I have got a CustomTextAnnotation like in this example CustomTextAnnotation
I added a Rendertransform like this.
<s:TextAnnotation.RenderTransform> <RotateTransform Angle="90"/> </s:TextAnnotation.RenderTransform>
But the AnchorPoint is not used as rotation center.
I thought of using ToCoordinate() but need a calculator for that which is not available within CustomTextAnnotation.
What is best practice to achive the requested rotation in sciChart?
- Bürger Martin asked 9 years ago
- last active 9 years ago