[]
Adds a line to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectLine(Unit fromX, Unit fromY, Unit toX, Unit toY, LineDef line)
Type | Name | Description |
---|---|---|
Unit | fromX | The X coordinate of the first point that the line connects. |
Unit | fromY | The Y coordinate of the first point that the line connects. |
Unit | toX | The X coordinate of the second point that the line connects. |
Unit | toY | The Y coordinate of the second point that the line connects. |
LineDef | line | The LineDef to draw the line with. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Adds a line to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectLine(Unit fromX, Unit fromY, Unit toX, Unit toY, Color lineColor, Unit lineThickness)
Type | Name | Description |
---|---|---|
Unit | fromX | The X coordinate of the first point that the line connects. |
Unit | fromY | The Y coordinate of the first point that the line connects. |
Unit | toX | The X coordinate of the second point that the line connects. |
Unit | toY | The Y coordinate of the second point that the line connects. |
Color | lineColor | The line color. |
Unit | lineThickness | The line thickness. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).