[]
public static implicit operator Rect(Rectangle value)
Type | Name | Description |
---|---|---|
Rectangle | value | The Rectangle to convert. |
Type | Description |
---|---|
Rect | The converted Rect structure. |
Converts a RectangleF to a Rect.
public static implicit operator Rect(RectangleF value)
Type | Name | Description |
---|---|---|
RectangleF | value | The RectangleF to convert. |
Type | Description |
---|---|
Rect | The converted Rect structure. |