[]
        
(Showing Draft Content)

C1.C1Preview.RenderRoundRectangle

RenderRoundRectangle Class

Represents a rectangle with rounded corners in a C1PrintDocument.

Inheritance
RenderRoundRectangle
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
public class RenderRoundRectangle : RenderRectangle, IStyleOwner, IDocumentLocation

Constructors

Name Description
RenderRoundRectangle()

Initializes a new instance of the RenderRoundRectangle class. The location and size of the rectangle are set to those of the current RenderRectangle object. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit)

Initializes a new instance of the RenderRoundRectangle class, assigning the width and height of the rectangle. The location of the rectangle is set to the location of the current RenderRoundRectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, LineDef)

Initializes a new instance of the RenderRoundRectangle class, assigning the width and height of the rectangle, and the LineDef used to draw it. The location of the rectangle is set to the location of the current RenderRoundRectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, LineDef, Brush)

Initializes a new instance of the RenderRoundRectangle class, assigning the width and height of the rectangle, the LineDef used to draw it, and the fill brush. The location of the rectangle is set to the location of the current RenderRoundRectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, LineDef, Color)

Initializes a new instance of the RenderRoundRectangle class, assigning the width and height of the rectangle, the LineDef used to draw it, and the fill color. The location of the rectangle is set to the location of the current RenderRoundRectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, Unit, Unit)

Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, Unit, Unit, LineDef)

Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle, and the LineDef used to draw it. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, Unit, Unit, LineDef, Brush)

Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle, the LineDef used to draw it, and the fill brush. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, Unit, Unit, LineDef, Color)

Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle, the LineDef used to draw it, and the fill color. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.

RenderRoundRectangle(Unit, Unit, Unit, Unit, Unit, Unit, LineDef, Brush)

Initializes a new instance of the RenderRoundRectangle class, assigning the location, size and roundness of the rectangle, the LineDef used to draw it, and the fill brush.

RenderRoundRectangle(Unit, Unit, Unit, Unit, Unit, Unit, LineDef, Color)

Initializes a new instance of the RenderRoundRectangle class, assigning the location, size and roundness of the rectangle, the LineDef used to draw it, and the fill color.

Properties

Name Description
RoundRectangle

Gets the RoundRectangleProps object describing the geometric rectangle represented by the current RenderRoundRectangle object. The coordinates of the rectangle are relative to the left top corner of the current RenderRoundRectangle object.

Methods

Name Description
CreateSame()

Creates new empty RenderRoundRectangle object linked with same C1PrintDocument as current object.