[]
        
(Showing Draft Content)

C1.C1Preview.RenderLine.-ctor

RenderLine Constructor

RenderLine()

Initializes a new instance of the RenderLine class.

Declaration
public RenderLine()

RenderLine(Unit, Unit, Unit, Unit, LineDef)

Initializes a new instance of the RenderLine class, assigning the coordinates of the two points that the line connects.

Declaration
public RenderLine(Unit x1, Unit y1, Unit x2, Unit y2, LineDef shapeLine)
Parameters
Type Name Description
Unit x1

The X coordinate of the first of the two points that the line connects.

Unit y1

The Y coordinate of the first of the two points that the line connects.

Unit x2

The X coordinate of the second of the two points that the line connects.

Unit y2

The Y coordinate of the second of the two points that the line connects.

LineDef shapeLine