Represents an ElementTemplate that draws round rectangle. This 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 DiagramView Measure units and therefore a given shape instance will look bad when the measure unit is not the one for which the shape was designed.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public class RoundRectangleTemplate : ElementTemplate |
Visual Basic
![]() |
---|
Public Class RoundRectangleTemplate |
This 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 DiagramView Measure units and therefore a given shape instance will look bad when the measure unit is not the one for which the shape was designed.
System.Object
MindFusion.Diagramming.ElementTemplate
MindFusion.Diagramming.RoundRectangleTemplate
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |