# RECT Type

    Type Rect
      Left As Long
      Top As Long
      Right As Long
      Bottom As Long
    End Type

RECT-type variables hold a rectangle. This type defines a rectangle by storing its upper-left and lower-right corners.

Left
  The x coordinate of the upper-left corner of the rectangle.
Top
  The y coordinate of the upper-left corner of the rectangle.
Right
  The x coordinate of the lower-right corner of the rectangle.
Bottom
  The y coordinate of the lower-right corner of the rectangle.

Used by: ClipCursor, CopyRect, EqualRect, GetClipCursor, GetWindowRect, InflateRect, IntersectRect, IsRectEmpty, OffsetRect, PtInRect, SetRect, SetRectEmpty, SubtractRect, UnionRect
Back to the index.