summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorClaudio Felber <claudio.felber@perron2.ch>2015-06-27 13:01:14 +0200
committerClaudio Felber <claudio.felber@perron2.ch>2015-06-27 13:01:14 +0200
commit93779987c426b8c09d620aa6bc48b95ffbef282a (patch)
tree65b2d2e3f24b76c22acc4ca59e4e9a04744e9251 /def.go
parent5ab948816dec877984e3c1c031f423cb7fccf30f (diff)
Add SetDashPattern() method
Diffstat (limited to 'def.go')
-rw-r--r--def.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/def.go b/def.go
index 47b399f..df21e05 100644
--- a/def.go
+++ b/def.go
@@ -195,6 +195,8 @@ type Fpdf struct {
fontDirStr string // location of font definition files
capStyle int // line cap style: butt 0, round 1, square 2
joinStyle int // line segment join style: miter 0, round 1, bevel 2
+ dashArray []float64 // dash array
+ dashPhase float64 // dash phase
blendList []blendModeType // slice[idx] of alpha transparency modes, 1-based
blendMap map[string]int // map into blendList
gradientList []gradientType // slice[idx] of gradient records