round method

round

Converts the specified RectangleF to a Rectangle by rounding the RectangleF values to the nearest integer values.

Returns

A new Rectangle.

def round(self, value):
    ...
ParameterTypeDescription
valueRectangleFThe RectangleF to be converted.

See Also