summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2013-11-19 08:41:45 -0500
committerKurt Jung <kurt.w.jung@code.google.com>2013-11-19 08:41:45 -0500
commit131de2d8072a8594ec6383d1ce2e58e18597210b (patch)
treea846373c389f0b51ec041043b156c93bbd92a3df /fpdf.go
parentde815d3fa28b866e26d6564b164233b7bed812fd (diff)
Bring new comments into lint conformance
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdf.go b/fpdf.go
index 0b6e440..9a578b1 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -266,16 +266,16 @@ func (f *Fpdf) SetLeftMargin(margin float64) {
}
}
-// Return the cell margin. This is the amount of space before and after the text
-// within a cell that's left blank, and is in units passed to New(). It defaults
-// to 1mm.
+// GetCellMargin returns the cell margin. This is the amount of space before
+// and after the text within a cell that's left blank, and is in units passed
+// to New(). It defaults to 1mm.
func (f *Fpdf) GetCellMargin() float64 {
return f.cMargin
}
-// Set the cell margin. This is the amount of space before and after the text
-// within a cell that's left blank, and is in units passed to New(). It defaults
-// to 1mm.
+// SetCellMargin set the cell margin. This is the amount of space before and
+// after the text within a cell that's left blank, and is in units passed to
+// New().
func (f *Fpdf) SetCellMargin(margin float64) {
f.cMargin = margin
}