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
2019-09-14 10:31:31 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
addc8dc8c8d5526bac127e92ab62d653b90f0cfb
addc8dc8
1 parent
19e20b4c
Specify line width for existing widgets
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
pdf/lib/widgets/basic.dart
pdf/lib/widgets/clip.dart
pdf/lib/widgets/widget.dart
pdf/lib/widgets/basic.dart
View file @
addc8dc
...
...
@@ -323,6 +323,7 @@ class Align extends SingleChildWidget {
void
debugPaint
(
Context
context
)
{
context
.
canvas
..
setStrokeColor
(
PdfColors
.
green
)
..
setLineWidth
(
1
)
..
drawRect
(
box
.
x
,
box
.
y
,
box
.
width
,
box
.
height
);
if
(
child
==
null
)
{
...
...
pdf/lib/widgets/clip.dart
View file @
addc8dc
...
...
@@ -23,6 +23,7 @@ class ClipRect extends SingleChildWidget {
void
debugPaint
(
Context
context
)
{
context
.
canvas
..
setStrokeColor
(
PdfColors
.
deepPurple
)
..
setLineWidth
(
1
)
..
drawRect
(
box
.
x
,
box
.
y
,
box
.
width
,
box
.
height
)
..
strokePath
();
}
...
...
@@ -61,6 +62,7 @@ class ClipRRect extends SingleChildWidget {
void
debugPaint
(
Context
context
)
{
context
.
canvas
..
setStrokeColor
(
PdfColors
.
deepPurple
)
..
setLineWidth
(
1
)
..
drawRRect
(
box
.
x
,
box
.
y
,
box
.
width
,
box
.
height
,
horizontalRadius
,
verticalRadius
)
..
strokePath
();
...
...
@@ -95,6 +97,7 @@ class ClipOval extends SingleChildWidget {
context
.
canvas
..
setStrokeColor
(
PdfColors
.
deepPurple
)
..
setLineWidth
(
1
)
..
drawEllipse
(
box
.
x
+
rx
,
box
.
y
+
ry
,
rx
,
ry
)
..
strokePath
();
}
...
...
pdf/lib/widgets/widget.dart
View file @
addc8dc
...
...
@@ -106,6 +106,7 @@ abstract class Widget {
void
debugPaint
(
Context
context
)
{
context
.
canvas
..
setStrokeColor
(
PdfColors
.
purple
)
..
setLineWidth
(
1
)
..
drawRect
(
box
.
x
,
box
.
y
,
box
.
width
,
box
.
height
)
..
strokePath
();
}
...
...
Please
register
or
login
to post a comment