[]
        
(Showing Draft Content)

C1.C1Preview.RoundRectangleProps

RoundRectangleProps Class

Represents the geometric properties of a rectangle with rounded corners. Used by the RenderRoundRectangle class.

Inheritance
RoundRectangleProps
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
public class RoundRectangleProps : RectangleProps

Constructors

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.

Properties

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.

Methods

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.