Dart Documentationchrome.src.common_expBounds

Bounds class

class Bounds extends ChromeObject {
 static Bounds create(JsObject jsProxy) => jsProxy == null ? null : new Bounds.fromProxy(jsProxy);

 Bounds();
 Bounds.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 int get left => jsProxy['left'];
 set left(int value) => jsProxy['left'] = value;

 int get top => jsProxy['top'];
 set top(int value) => jsProxy['top'] = value;

 int get width => jsProxy['width'];
 set width(int value) => jsProxy['width'] = value;

 int get height => jsProxy['height'];
 set height(int value) => jsProxy['height'] = value;
}

Extends

ChromeObject > Bounds

Static Methods

Bounds create(JsObject jsProxy) #

static Bounds create(JsObject jsProxy) => jsProxy == null ? null : new Bounds.fromProxy(jsProxy);

Constructors

new Bounds() #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
Bounds();

new Bounds.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
Bounds.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

int height #

int get height => jsProxy['height'];
set height(int value) => jsProxy['height'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int left #

int get left => jsProxy['left'];
set left(int value) => jsProxy['left'] = value;

int top #

int get top => jsProxy['top'];
set top(int value) => jsProxy['top'] = value;

int width #

int get width => jsProxy['width'];
set width(int value) => jsProxy['width'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();