I create an Angle Layer with this code:
procedure TformMain.mLayerInsertAngleClick(Sender: TObject);
begin
ImageEnViewPixelEditor.LayersNewLayerDialog(ielkAngle, True);
end;
1. Is it possible to have different colors for the start angle line and for the end angle line? Example:
Start angle line: Green. End angle line: Red. (No political insinuations are intended)
That could be helpful for the end-user.
2. How can I move each angle line with the mouse?
3. How can I rotate the whole angle layer with the mouse? When I click the rotation grip, the angle layer gets deselected.
UPDATE: Question #3 is solved: That was a self-inflicted side-effect from my OnMouseDown routine. Sorry.
Also, question #2 is partly solved: Moving the rotation grip with the mouse now works: It moves the END-ANGLE line. But wouldn't the following be more helpful?:
a) The Rotation Grip rotates the whole Layer
b) The START-ANGLE has its own grip and can be moved with that grip. The grip has the form of a right-pointing hand.
c) The END-ANGLE has its own grip and can be moved with that grip. The grip has the form of a left-pointing hand.
That would allow the user to easily measure the angle of any visual detail in the image, e.g., architectonic or anatomic details.