NPolygonShape points


Author
Message
Igor Yakubov
Igor Yakubov
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)
Group: Forum Members
Posts: 7, Visits: 1

Hi,
How can i show the points of NPolygonShape (the points that constracts the polygon) for example in the InteractivityStyle, and it will have the ability to be change this points in DiagramView (like bounds)?

Thanks!


Ivo Milanov
Ivo Milanov
Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)
Group: Forum Members
Posts: 35, Visits: 32

Hi Igor,

Each shape has an interaction style associated with it which specifies the aspects of the shape for which trackers (interactive editors with handlers) are created when the shape is selected. A polygon shape is a 2D shape, which by default shows only the rotated bounds, pin and rotation trackers. To show the points use this code:

NInteractionStyle istyle = shape.InteractionStyle;

istyle.GeometryPoints = true;

shape.InteractionStyle = istyle;

Best regards,
Ivo


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search