From 11d042d10aed721c0281ec30cc41c69a831a7a26 Mon Sep 17 00:00:00 2001
From: David Evans getPNG
,
which has no synchronous equivalent.
The callback recieves an object containing:
+The callback receives an object containing:
url
: The URL of the generated blob.latest
: True if the URL given is still valid; subsequent calls to this method will invalidate previous URLs.resolution
: Desired pixels-per-unit.size
: Optional width and/or height to render the image at (defaults to the unit size of the diagram). The final output will have size width * resolution
× height * resolution
.The callback recieves an object containing:
+The callback receives an object containing:
url
: The URL of the generated blob.latest
: True if the URL given is still valid; subsequent calls to this method will invalidate previous URLs.