# class Rect

###

Module | khtml
Namespace | DOM
Class | Rect
Inherits |

The Rect interface is used to represent any rect value. This interface reflects the values in the underlying style property. Hence, modifications made through this interface modify the style property.

### methods

- Rect ( )

  returns ctor

- Rect (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Rect |

- Rect (i)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  i | RectImpl |

- bottom ( )

  returns DOM.CSSPrimitiveValue

  This attribute is used for the bottom of the rect.

- handle ( )

  returns RectImpl
  Not implemented

  Internal not part of the DOM

- isNull ( )

  returns bool

- left ( )

  returns DOM.CSSPrimitiveValue

  This attribute is used for the left of the rect.

- right ( )

  returns DOM.CSSPrimitiveValue

  This attribute is used for the right of the rect.

- top ( )

  returns DOM.CSSPrimitiveValue

  This attribute is used for the top of the rect.