Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2020-11-28 12:57:16 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
630e9cb1c59029ee5b2e741618c1d2460e73b02a
630e9cb1
1 parent
a6aa70d7
Fix dash lines
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
pdf/CHANGELOG.md
pdf/lib/src/graphics.dart
pdf/CHANGELOG.md
View file @
630e9cb
...
...
@@ -11,6 +11,7 @@
-
Improve API documentation
-
Add support for Icon Fonts (MaterialIcons)
-
Opt-out from dart library
-
Improve graphic operations
## 1.12.0
...
...
pdf/lib/src/graphics.dart
View file @
630e9cb
...
...
@@ -554,7 +554,7 @@ class PdfGraphics {
/// When the accumulated length equals the value specified by the dash phase
///
/// Example: [2 1] will create a dash pattern with 2 on, 1 off, 2 on, 1 off, ...
void
setLineDashPattern
([
List
<
int
>
array
=
const
<
int
>[],
int
phase
=
0
])
{
void
setLineDashPattern
([
List
<
num
>
array
=
const
<
num
>[],
int
phase
=
0
])
{
PdfArray
.
fromNum
(
array
).
output
(
buf
);
buf
.
putString
(
'
$phase
d
\n
'
);
}
...
...
Please
register
or
login
to post a comment