Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Drawing circles instead of ellipses (Read 1689 times)
IBS
Guest


Drawing circles instead of ellipses
Nov 18th, 2005 at 5:56am
Print Post  
Hi,

it is possible to draw exact circles (radius is always the same) instead of Ellipses?

Sure, you can resize an Ellipse always to a circle, but what I want, is that if you resize a circle in X-Direction, the Y-Direction is resized, too, so that the width and height are always the same.
Some Events like BoxModified, only trigger after Resizing, not while Resizing.

If this is not possible, can I suppress Resizing? I only want to move a circle and create arrows on it, but not resizing it.

Thanks for answer!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Drawing circles instead of ellipses
Reply #1 - Nov 18th, 2005 at 6:55am
Print Post  
Hi,

That's not possible at this time. I guess we can implement that as a modifier key function in next version.

You can disable resizing using the EnabledHandles property:

box.EnabledHandles = Handles.Move;

If you use version 3, that was called MnpHandlesMask there:

box.MnpHandlesMask = 256;

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint