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.
The following tables list the members exposed by the RoundRectangleTemplate type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the RoundRectangleTemplate class. |
Name | Description | |
---|---|---|
Gets the bounding rectangle of this element. |
||
Gets or sets the outline color of this element. (Inherited from ElementTemplate.) |
||
Gets or sets the dash style of the outline of this element. (Inherited from ElementTemplate.) |
||
Gets or sets the round radius of this element. |
||
Gets or sets the outline width of this element. (Inherited from ElementTemplate.) |
Name | Description | |
---|---|---|
Creates an exact copy of this RoundRectangleTemplate element. |
||
ElementTemplate.SameAs override. |
Name | Description | |
---|---|---|
Gets a pen used to render the element. If no pen properties are explicitly specified for this element, returns the pen passed as an argument. (Inherited from ElementTemplate.) |