Class Bounds

Creates an object that contains a set of integer coordinates representing position, width, and height.

see

{@link http://msdn.microsoft.com/en-us/library/bb397698(v=vs.100).aspx}

Index

Constructor methods

Properties

Constructor methods

constructor(): Bounds

Initializes a new instance of the Sys.UI.Bounds class.

Returns

Bounds

Properties

public height: number

Gets the height of an object in pixels. This property is read-only.

returns

A number that represents the height of an object in pixels.

public width: number

Gets the width of an object in pixels. This property is read-only.

returns

A number that represents the width of an object in pixels.

public x: number

Gets the x-coordinate of an object in pixels.

returns

A number that represents the x-coordinate of an object in pixels.

public y: number

Gets the y-coordinate of anobject in pixels.

returns

A number that represents the y-coordinate of an object in pixels.