@SupportedBrowser(SupportedBrowser.CHROME) @SupportedBrowser(SupportedBrowser.SAFARI) @SupportedBrowser(SupportedBrowser.IE, '11') @Unstable() List<num> getLineDash() { // TODO(14316): Firefox has this functionality with mozDash, but it's a bit // different. if (JS('bool', '!!#.getLineDash', this)) { return JS('List<num>', '#.getLineDash()', this); } else if (JS('bool', '!!#.webkitLineDash', this)) { return JS('List<num>', '#.webkitLineDash', this); } }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/CanvasRenderingContext2D/getLineDash.html