summaryrefslogtreecommitdiff
path: root/layer.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-07-07 11:10:07 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-07-07 11:10:07 -0400
commitb09a1c5eef4ec4c053c0ec22da4e9f147aae73e4 (patch)
tree182a04fddfa52da1ad5c5c82d8a9338744992ed0 /layer.go
parent8e1fd6fdd35517c1035ff353ca3cdc1e88bb82f9 (diff)
Convert sequential examples to ones that are bound to gofpdf methods.
Diffstat (limited to 'layer.go')
-rw-r--r--layer.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/layer.go b/layer.go
index d567e37..bca364f 100644
--- a/layer.go
+++ b/layer.go
@@ -42,8 +42,6 @@ func (f *Fpdf) layerInit() {
// display in the layer list. visible specifies whether the layer will be
// initially visible. The return value is an integer ID that is used in a call
// to BeginLayer().
-//
-// Layers are demonstrated in tutorial 26.
func (f *Fpdf) AddLayer(name string, visible bool) (layerID int) {
layerID = len(f.layer.list)
f.layer.list = append(f.layer.list, layerType{name: name, visible: visible})