66
Name
Type
Description
bottom
number
Gets the bottom coordinate of this Rect.
F
height
number
Gets or sets the height of this Rect.
F left
number
Gets or sets the left coordinate of this Rect.
right
number
Gets the right coordinate of this Rect.
F top
number
Gets or sets the top coordinate of this Rect.
F width
number
Gets or sets the width of this Rect.
Methods
Name
Parameters
Description
clone(): Rect
Creates a copy of this Rect.
contains
(pt): boolean
pt (any): The Point or Rect to ckeck.
Determines whether the rectangle contains a
given point or rectangle.
S fromBoundingRect
(rc): Rect
rc (any): Rectangle obtained by a call to the
DOM's getBoundingClientRect or GetBoundingBoxmethods.
Creates
a Rect from ClientRect or SVGRect objects.
inflate(dx,
dy): Rect
dx (number): The amount by which to expand or shrink the
left and right sides of the rectangle.
dy (number): The amount by which to expand or shrink the
top and bottom sides of the rectangle.
Creates a rectangle that results from
expanding or shrinking a rectangle by the
specified amounts.
S intersection (rc1,
rc2): Rect
rc1 (Rect): First rectangle.
rc2 (Rect): Second rectangle.
Gets a rectangle that represents the
intersection of two rectangles.
S union(rc1,
rc2): Rect
rc1 (Rect): First rectangle.
rc2 (Rect): Second rectangle.
Gets a rectangle that represents the union of
two rectangles.
RequestErrorEventArgs Class
Base Class
CancelEventArgs
Module
wijmo
File