diff options
author | Kurt <kurt.w.jung@gmail.com> | 2019-08-23 07:12:00 -0400 |
---|---|---|
committer | Kurt <kurt.w.jung@gmail.com> | 2019-08-23 07:12:00 -0400 |
commit | 1566d943c0e8df226a04d454b19c56832d8fdc4e (patch) | |
tree | 371d268f5da02f5072942155c1eba9c60aaed25d /def.go | |
parent | ed240cb3be2b6e232a4944f9ae13cc762735e86c (diff) | |
parent | 1f076cb96ab154628c2f1087099e2d6159476e65 (diff) |
Merge branch 'underline' of https://github.com/joewestcott/gofpdf into joewestcott-underline
Diffstat (limited to 'def.go')
-rw-r--r-- | def.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -452,6 +452,7 @@ type Pdf interface { SetTextSpotColor(nameStr string, tint byte) SetTitle(titleStr string, isUTF8 bool) SetTopMargin(margin float64) + SetUnderlineThickness(thickness float64) SetXmpMetadata(xmpStream []byte) SetX(x float64) SetXY(x, y float64) @@ -595,7 +596,8 @@ type Fpdf struct { // Composite values of colors draw, fill, text colorType } - spotColorMap map[string]spotColorType // Map of named ink-based colors + spotColorMap map[string]spotColorType // Map of named ink-based colors + userUnderlineThickness float64 // A custom user underline thickness multiplier. } type encType struct { |