fromURL static method

Image fromURL(
  1. dynamic url, [
  2. Function callback,
  3. dynamic imgOptions
])

Creates an instance of fabric.Image from an URL string @static @param {String} url URL to create an image from @param {Function} callback Callback to invoke when image is created (newly created image is passed as a first argument). Second argument is a boolean indicating if an error occurred or not. @param {Object} imgOptions Options object

Implementation

external static Image fromURL(dynamic url,
    [Function callback, dynamic imgOptions]);