Click or drag to resize

RectangleF Operators and Type Conversions

The RectangleF type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition(RectangleF, PointF)
Adds the offset to the specified rectangle, moving its location
Public operatorStatic memberAddition(RectangleF, SizeF)
Adds the offset to the specified rectangle, moving its location
Public operatorStatic memberDivision(RectangleF, SizeF)
Divides the specified rectangle by the Width and Height of size
Public operatorStatic memberDivision(RectangleF, Single)
Divides all X, Y, Width, Height components of the rectangle by a factor factor
Public operatorStatic memberEquality
Compares two rectangles for equality
Public operatorStatic member(Rectangle to RectangleF)
Implicit conversion from a Rectangle to a RectangleF
Public operatorStatic memberInequality
Compares two rectangles for inequality
Public operatorStatic memberMultiply(RectangleF, SizeF)
Multiplies the specified rectangle by the Width and Height of size
Public operatorStatic memberMultiply(RectangleF, Single)
Multiplies all X, Y, Width, Height components of the rectangle by a factor
Public operatorStatic memberSubtraction(RectangleF, PointF)
Subtracts the offset from the specified rectangle, moving its location
Public operatorStatic memberSubtraction(RectangleF, SizeF)
Subtracts the offset from the specified rectangle, moving its location
Top
See Also