summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorJoe Westcott <joewestcott@users.noreply.github.com>2019-08-22 22:31:52 +0100
committerJoe Westcott <joewestcott@users.noreply.github.com>2019-08-22 22:31:52 +0100
commit06680f145154e962a17ba7aaf33ab597ce83ef2e (patch)
tree3d1f571da69de116a1de1302656d6e1daf7a7be4 /def.go
parent9f0804cef4bf975423bbc86ccb9215915ae80478 (diff)
Add SetUnderlineThickness method
Diffstat (limited to 'def.go')
-rw-r--r--def.go4
1 files changed, 3 insertions, 1 deletions
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 {