SvgRendererOptions constructor

SvgRendererOptions({
  1. void elementFinished(
    1. GraphObject,
    2. SVGElement
    )?,
  2. Size? size,
  3. num? scale,
  4. Size? maxSize,
  5. Point? position,
  6. Iterable<Part>? parts,
  7. Object? padding,
  8. dynamic background,
  9. bool? showTemporary,
  10. bool? showGrid,
  11. HTMLDocument? document,
})

Implementation

factory SvgRendererOptions({
  void Function(
    _i3.GraphObject,
    _i6.SVGElement,
  )? elementFinished,
  _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,
}) =>
    SvgRendererOptions._(
      elementFinished: elementFinished == null
          ? _i5.undefined
          : _i4.allowInterop(elementFinished),
      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,
    );