Showing
2 changed files
with
2 additions
and
1 deletions
@@ -11,6 +11,7 @@ | @@ -11,6 +11,7 @@ | ||
11 | - Improve API documentation | 11 | - Improve API documentation |
12 | - Add support for Icon Fonts (MaterialIcons) | 12 | - Add support for Icon Fonts (MaterialIcons) |
13 | - Opt-out from dart library | 13 | - Opt-out from dart library |
14 | +- Improve graphic operations | ||
14 | 15 | ||
15 | ## 1.12.0 | 16 | ## 1.12.0 |
16 | 17 |
@@ -554,7 +554,7 @@ class PdfGraphics { | @@ -554,7 +554,7 @@ class PdfGraphics { | ||
554 | /// When the accumulated length equals the value specified by the dash phase | 554 | /// When the accumulated length equals the value specified by the dash phase |
555 | /// | 555 | /// |
556 | /// Example: [2 1] will create a dash pattern with 2 on, 1 off, 2 on, 1 off, ... | 556 | /// Example: [2 1] will create a dash pattern with 2 on, 1 off, 2 on, 1 off, ... |
557 | - void setLineDashPattern([List<int> array = const <int>[], int phase = 0]) { | 557 | + void setLineDashPattern([List<num> array = const <num>[], int phase = 0]) { |
558 | PdfArray.fromNum(array).output(buf); | 558 | PdfArray.fromNum(array).output(buf); |
559 | buf.putString(' $phase d\n'); | 559 | buf.putString(' $phase d\n'); |
560 | } | 560 | } |
-
Please register or login to post a comment