[]
        
(Showing Draft Content)

C1.C1Preview.RenderEllipse.-ctor

RenderEllipse Constructor

RenderEllipse()

Initializes a new instance of the RenderEllipse class. The location and size of the ellipse are set to those of the current RenderEllipse object.

Declaration
public RenderEllipse()
Public Sub New()

RenderEllipse(Unit, Unit)

Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse. The location of the ellipse is set to the location of the current RenderEllipse.

Declaration
public RenderEllipse(Unit width, Unit height)
Public Sub New(width As Unit, height As Unit)
Parameters
Type Name Description
Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

RenderEllipse(Unit, Unit, LineDef)

Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse, and the LineDef used to draw it. The location of the ellipse is set to the location of the current RenderEllipse.

Declaration
public RenderEllipse(Unit width, Unit height, LineDef shapeLine)
Public Sub New(width As Unit, height As Unit, shapeLine As LineDef)
Parameters
Type Name Description
Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

LineDef shapeLine

The LineDef used to draw the ellipse.

RenderEllipse(Unit, Unit, LineDef, Color)

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 color. The location of the ellipse is set to the location of the current RenderEllipse.

Declaration
public RenderEllipse(Unit width, Unit height, LineDef shapeLine, Color shapeFillColor)
Public Sub New(width As Unit, height As Unit, shapeLine As LineDef, shapeFillColor As Color)
Parameters
Type Name Description
Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

LineDef shapeLine

The LineDef used to draw the ellipse.

Color shapeFillColor

The fill color.

RenderEllipse(Unit, Unit, LineDef, Brush)

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.

Declaration
public RenderEllipse(Unit width, Unit height, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(width As Unit, height As Unit, shapeLine As LineDef, shapeFillBrush As Brush)
Parameters
Type Name Description
Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

LineDef shapeLine

The LineDef used to draw the ellipse.

Brush shapeFillBrush

The fill brush.

RenderEllipse(Unit, Unit, Unit, Unit)

Initializes a new instance of the RenderEllipse class, assigning the location and the size of the ellipse.

Declaration
public RenderEllipse(Unit x, Unit y, Unit width, Unit height)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit)
Parameters
Type Name Description
Unit x

The X coordinate of the ellipse.

Unit y

The Y coordinate of the ellipse.

Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

RenderEllipse(Unit, Unit, Unit, Unit, LineDef)

Initializes a new instance of the RenderEllipse class, assigning the location and the size of the ellipse, and the LineDef used to draw it.

Declaration
public RenderEllipse(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef)
Parameters
Type Name Description
Unit x

The X coordinate of the ellipse.

Unit y

The Y coordinate of the ellipse.

Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

LineDef shapeLine

The LineDef used to draw the ellipse.

RenderEllipse(Unit, Unit, Unit, Unit, LineDef, Color)

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

Declaration
public RenderEllipse(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine, Color shapeFillColor)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef, shapeFillColor As Color)
Parameters
Type Name Description
Unit x

The X coordinate of the ellipse.

Unit y

The Y coordinate of the ellipse.

Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

LineDef shapeLine

The LineDef used to draw the ellipse.

Color shapeFillColor

The fill color.

RenderEllipse(Unit, Unit, Unit, Unit, LineDef, Brush)

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

Declaration
public RenderEllipse(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef, shapeFillBrush As Brush)
Parameters
Type Name Description
Unit x

The X coordinate of the ellipse.

Unit y

The Y coordinate of the ellipse.

Unit width

The width of the ellipse.

Unit height

The height of the ellipse.

LineDef shapeLine

The LineDef used to draw the ellipse.

Brush shapeFillBrush

The fill brush.