From 06680f145154e962a17ba7aaf33ab597ce83ef2e Mon Sep 17 00:00:00 2001 From: Joe Westcott Date: Thu, 22 Aug 2019 22:31:52 +0100 Subject: Add SetUnderlineThickness method --- def.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'def.go') diff --git a/def.go b/def.go index 95da6ba..7fddc82 100644 --- a/def.go +++ b/def.go @@ -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 { -- cgit v1.2.1-24-ge1ad