Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderRoundRectangle Class / RenderRoundRectangle Constructor / RenderRoundRectangle Constructor(Unit,Unit,Unit,Unit,Unit,Unit,LineDef,Color)
The X coordinate of the rectangle, relative to the current object's location.
The Y coordinate of the rectangle, relative to the current object's location.
The width of the rectangle.
The height of the rectangle.
The width of the ellipse used to draw the rounded corners (may be specified as "5%width" for example).
The height of the ellipse used to draw the rounded corners (may be specified as "5%height" for example).
The LineDef used to draw the rectangle.
The color used to fill the rectangle.

In This Topic
    RenderRoundRectangle Constructor(Unit,Unit,Unit,Unit,Unit,Unit,LineDef,Color)
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As Unit, _
       ByVal y As Unit, _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal ellipseWidth As Unit, _
       ByVal ellipseHeight As Unit, _
       ByVal shapeLine As LineDef, _
       ByVal shapeFillColor As Color _
    )
    public RenderRoundRectangle( 
       Unit x,
       Unit y,
       Unit width,
       Unit height,
       Unit ellipseWidth,
       Unit ellipseHeight,
       LineDef shapeLine,
       Color shapeFillColor
    )

    Parameters

    x
    The X coordinate of the rectangle, relative to the current object's location.
    y
    The Y coordinate of the rectangle, relative to the current object's location.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    ellipseWidth
    The width of the ellipse used to draw the rounded corners (may be specified as "5%width" for example).
    ellipseHeight
    The height of the ellipse used to draw the rounded corners (may be specified as "5%height" for example).
    shapeLine
    The LineDef used to draw the rectangle.
    shapeFillColor
    The color used to fill the rectangle.
    See Also