Method WithBorderColor
WithBorderColor(Int32)
Sets the desired border color. The default is red.
Declaration
public Rectangle WithBorderColor(int color32)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | color32 | The color as a 32-bit ARGB value. |
Returns
Type | Description |
---|---|
Rectangle | The rectangle. |
WithBorderColor(Color)
Sets the desired border color. The default is red.
Declaration
public Rectangle WithBorderColor(Color borderColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | borderColor | The color |
Returns
Type | Description |
---|---|
Rectangle | The rectangle. |