[]
Renders a rectangle into the block flow of the current document.
public bool RenderBlockRectangle(Unit width, Unit height, Style style)
Public Function RenderBlockRectangle(width As Unit, height As Unit, style As Style) As Boolean
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| Style | style | The Style to use. |
| Type | Description |
|---|---|
| bool | true if no warnings were generated by this call, false otherwise. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).
Renders a rectangle into the block flow of the current document.
public bool RenderBlockRectangle(Unit width, Unit height, LineDef line, Color fillColor)
Public Function RenderBlockRectangle(width As Unit, height As Unit, line As LineDef, fillColor As Color) As Boolean
| Type | Name | Description |
|---|---|---|
| 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. |
| Type | Description |
|---|---|
| bool | true if no warnings were generated by this call, false otherwise. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).
Renders a rectangle into the block flow of the current document.
public bool RenderBlockRectangle(Unit width, Unit height, LineDef line, Brush fillBrush)
Public Function RenderBlockRectangle(width As Unit, height As Unit, line As LineDef, fillBrush As Brush) As Boolean
| Type | Name | Description |
|---|---|---|
| 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. |
| Type | Description |
|---|---|
| bool | true if no warnings were generated by this call, false otherwise. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).
Renders a rectangle into the block flow of the current document.
public bool RenderBlockRectangle(Unit width, Unit height, LineDef line)
Public Function RenderBlockRectangle(width As Unit, height As Unit, line As LineDef) As Boolean
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | line | The LineDef to draw the rectangle with. |
| Type | Description |
|---|---|
| bool | true if no warnings were generated by this call, false otherwise. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).
Renders a rectangle into the block flow of the current document.
public bool RenderBlockRectangle(Unit width, Unit height, Color lineColor, Unit lineThickness, Color fillColor)
Public Function RenderBlockRectangle(width As Unit, height As Unit, lineColor As Color, lineThickness As Unit, fillColor As Color) As Boolean
| Type | Name | Description |
|---|---|---|
| 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. |
| Type | Description |
|---|---|
| bool | true if no warnings were generated by this call, false otherwise. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).
Renders a rectangle into the block flow of the current document.
public bool RenderBlockRectangle(Unit width, Unit height, Color lineColor, Unit lineThickness)
Public Function RenderBlockRectangle(width As Unit, height As Unit, lineColor As Color, lineThickness As Unit) As Boolean
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| Color | lineColor | The line color. |
| Unit | lineThickness | The line thickness. |
| Type | Description |
|---|---|
| bool | true if no warnings were generated by this call, false otherwise. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).