[]
Represents the geometric properties of a rectangle with rounded corners. Used by the RenderRoundRectangle class.
public class RoundRectangleProps : RectangleProps
Name | Description |
---|---|
RoundRectangleProps() | Initializes a new instance of the RoundRectangleProps class. The location and size of the rectangle are set to those of the containing RenderRoundRectangle object. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions. |
Name | Description |
---|---|
EllipseHeight | Gets or sets the height of the ellipse used to draw the rounded corners of the rectangle. The default value of this property is calculated as 5% of the height of the rectangle. |
EllipseWidth | Gets or sets the width of the ellipse used to draw the rounded corners of the rectangle. The default value of this property is calculated as 5% of the width of the rectangle. |
Name | Description |
---|---|
AssignFrom(ShapeProps) | Assigns (copies) properties from another ShapeProps to the current object. |
ShouldSerializeEllipseHeight() | Indicates whether the EllipseHeight property should be serialized. |
ShouldSerializeEllipseWidth() | Indicates whether the EllipseWidth property should be serialized. |