ISurface constructor
ISurface({})
Implementation
factory ISurface({
_i6.Element? domElement,
_i3.IContext? context,
_i2.num? width,
_i2.num? height,
_i6.Document? ownerDocument,
void Function(
_i3.GraphObject,
_i6.SVGElement,
)? elementFinished,
_i6.CSSStyleDeclaration? style,
_i2.bool Function(
_i2.num,
_i2.num,
_i2.num,
_i2.num,
)? resize,
_i6.DOMRect Function()? getBoundingClientRect,
void Function()? focus,
void Function()? dispose,
}) =>
ISurface._(
domElement: domElement ?? _i5.undefined,
context: context ?? _i5.undefined,
width: width,
height: height,
ownerDocument: ownerDocument ?? _i5.undefined,
elementFinished: elementFinished == null
? _i5.undefined
: _i4.allowInterop(elementFinished),
style: style ?? _i5.undefined,
resize: resize == null ? null : _i4.allowInterop(resize),
getBoundingClientRect: getBoundingClientRect == null
? null
: _i4.allowInterop(getBoundingClientRect),
focus: focus == null ? null : _i4.allowInterop(focus),
dispose: dispose == null ? null : _i4.allowInterop(dispose),
);