70002710 Additional grips in several entities (rect , ellipse etc)

Article 70002710
Type Wish
Product Engine
Date Added 6/13/2025 12:00:00 AM
Fixed 11.4.4 (6/20/2025 12:00:00 AM)
Submitted by Brendan Fry<brendan.fry@apretailai.com>;

Summary

Additional grips in several entities (rect , ellipse etc)

Solution

In version 11.4.4 we added several grips into some of our vdFigures to give the user the ability to rotate , stretch the object without using one of our commands but instead simply by moving grips.

We also added a new property at the Document.GlobalRenderProperties like below

Get/Set the grip color for rotation grips. Default color is Green.
public Color GripRotationColor

Below you can check the entities that these grips were added and what they do.


1) vdRect
To the vdRect object we added several grips.
First of all the "move" grip is located in the center of the rect and is drawn as filled grip (using the grip color).
The rotation grip is added on the side where the insertion point of the vdRect is and is drawn as filled using the GripRotationColor.
We also added 8 grips around the rect that change the width and Height of the rect accordinly.



2) vdImage
Same grip points have been apllied to the vdImage object with a small change.
If the images property KeepAspect is true , then only 4 grips are shown.
If the property KeepAspect is false then all of grips are shown (10 grips in total).




3) vdEllipse
To the ellipse also we added some extra grip points.
The center is drawn as filled grip using the grip color and moves the center of the allipse.
The rotation grip is drawn using the GripRotationColor color and changes the MajorAngle of the ellipse.
The rest of the grips around the allipse change the Minor and Major length of the ellipse accordinly.




4) vdText and vdMtext
To the Text we added two extra grips.
One for rotation using the GripRotationColor.
And one at the right side that is used to stretch the text changing its widthfactor , height and also Height depending mainly from its HorJustify property.
For the Mtext , the extra blue grips change it's BoxWidth.


5) vdInsert
For the insert we added one extra grip for rotation that is drawn using the GripRotationColor
Note that the rotation grip will move in order to be inside the bounding box of the insert.

Send comments on this topic.