PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderEllipse Class / RenderEllipse Constructor / RenderEllipse Constructor(Unit,Unit,LineDef,Brush)
The width of the ellipse.
The height of the ellipse.
The LineDef used to draw the ellipse.
The fill brush.

In This Topic
    RenderEllipse Constructor(Unit,Unit,LineDef,Brush)
    In This Topic
    Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse, the LineDef used to draw it, and the fill brush. The location of the ellipse is set to the location of the current RenderEllipse.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal width As Unit, _
       ByVal height As Unit, _
       ByVal shapeLine As LineDef, _
       ByVal shapeFillBrush As Brush _
    )
    public RenderEllipse( 
       Unit width,
       Unit height,
       LineDef shapeLine,
       Brush shapeFillBrush
    )

    Parameters

    width
    The width of the ellipse.
    height
    The height of the ellipse.
    shapeLine
    The LineDef used to draw the ellipse.
    shapeFillBrush
    The fill brush.
    See Also