ImageRendererOptions constructor

ImageRendererOptions({
  1. String? type,
  2. String? returnType,
  3. void callback([
    1. dynamic
    ])?,
  4. num? callbackTimeout,
  5. Object? details,
  6. Size? size,
  7. num? scale,
  8. Size? maxSize,
  9. Point? position,
  10. Iterable<Part>? parts,
  11. Object? padding,
  12. dynamic background,
  13. bool? showTemporary,
  14. bool? showGrid,
  15. HTMLDocument? document,
})

Implementation

factory ImageRendererOptions({
  _i2.String? type,
  _i2.String? returnType,
  void Function([_i2.dynamic])? callback,
  _i2.num? callbackTimeout,
  _i2.Object? details,
  _i3.Size? size,
  _i2.num? scale,
  _i3.Size? maxSize,
  _i3.Point? position,
  _i3.Iterable<_i3.Part>? parts,
  _i2.Object? padding,
  _i2.dynamic background,
  _i2.bool? showTemporary,
  _i2.bool? showGrid,
  _i6.HTMLDocument? document,
}) =>
    ImageRendererOptions._(
      type: type,
      returnType: returnType,
      callback: callback == null ? _i5.undefined : _i4.allowInterop(callback),
      callbackTimeout: callbackTimeout,
      details: details ?? _i5.undefined,
      size: size ?? _i5.undefined,
      scale: scale,
      maxSize: maxSize ?? _i5.undefined,
      position: position ?? _i5.undefined,
      parts: parts ?? _i5.undefined,
      padding: padding ?? _i5.undefined,
      background: background,
      showTemporary: showTemporary,
      showGrid: showGrid,
      document: document ?? _i5.undefined,
    );