Represents an ElementTemplate that draws round rectangle.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public class RoundRectangleTemplate : ElementTemplate |
Visual Basic
Copy Code
|
|---|
Public Class RoundRectangleTemplate |
RemarksThis class ensures that the round corners do not change during resizing which is visually better. The drawback is that the radius appears to be specified in DiagramMeasure units and therefore a given shape instance will look bad when the measure unit is not the one for which the shape was designed.
Inheritance HierarchySystem.Object![]()
MindFusion.Diagramming.Wpf.ElementTemplate
MindFusion.Diagramming.Wpf.RoundRectangleTemplate
See Also