[]
Adds a rectangle to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, Style style)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the rectangle (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the rectangle (cannot be auto). |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| Style | style | The Style to use. |
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 rectangle to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, LineDef line, Color fillColor)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the rectangle (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the rectangle (cannot be auto). |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | line | The LineDef to draw the rectangle with. |
| Color | fillColor | The fill color. |
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 rectangle to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, LineDef line, Brush fillBrush)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the rectangle (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the rectangle (cannot be auto). |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | line | The LineDef to draw the rectangle with. |
| Brush | fillBrush | The fill brush. |
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 rectangle to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, LineDef line)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the rectangle (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the rectangle (cannot be auto). |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | line | The LineDef to draw the rectangle 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 rectangle to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, Color lineColor, Unit lineThickness, Color fillColor)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the rectangle (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the rectangle (cannot be auto). |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| Color | lineColor | The line color. |
| Unit | lineThickness | The line thickness. |
| Color | fillColor | The fill color. |
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 rectangle to the Body of the current document at a specific position on the current page, and resolves it.
public void RenderDirectRectangle(Unit x, Unit y, Unit width, Unit height, Color lineColor, Unit lineThickness)
| Type | Name | Description |
|---|---|---|
| Unit | x | The horizontal (X) coordinate at which to render the rectangle (cannot be auto). |
| Unit | y | The vertical (Y) coordinate at which to render the rectangle (cannot be auto). |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| 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).