Search
RoundRectangleTemplate Members
Constructors Properties Methods
 


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.

 Public Constructors

  Name Description

RoundRectangleTemplate

Overloaded. Initializes a new instance of the RoundRectangleTemplate class.

 Public Properties

  Name Description

Bounds

Gets the bounding rectangle of this element.

Color

Gets or sets the outline color of this element. (Inherited from ElementTemplate.)

DashStyle

Gets or sets the dash style of the outline of this element. (Inherited from ElementTemplate.)

Radius

Gets or sets the round radius of this element.

Width

Gets or sets the outline width of this element. (Inherited from ElementTemplate.)

 Public Methods

  Name Description

Clone

Creates an exact copy of this RoundRectangleTemplate element.

SameAs

ElementTemplate.SameAs override.

 Protected Methods

  Name Description

GetElementPen

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.)

 See Also