withOption<T extends OverlayOptions> method

InteractiveOverlayImage withOption<T extends OverlayOptions>(
  1. T opt
)

Returns a copy of this overlay with the specified option opt added or updated.

Implementation

InteractiveOverlayImage withOption<T extends OverlayOptions>(T opt) =>
    copyWith(options: options.setOpt<T>(opt));