summaryrefslogtreecommitdiff
path: root/shape.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-04-20 14:57:50 +0800
committerxuri <xuri.me@gmail.com>2019-04-20 14:57:50 +0800
commit0660f30cddc06de7883d40eb4f8e4945c18a0252 (patch)
tree99d44e701af30b7d5676909c6cb45740efec0bd9 /shape.go
parent0f9170a03b9fe19c1c22687fba8bcbdfd69a6347 (diff)
godoc update and typo fixed
Diffstat (limited to 'shape.go')
-rw-r--r--shape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/shape.go b/shape.go
index 5cac776..f404a7a 100644
--- a/shape.go
+++ b/shape.go
@@ -40,7 +40,7 @@ func parseFormatShapeSet(formatSet string) (*formatShape, error) {
// print settings) and properties set. For example, add text box (rect shape)
// in Sheet1:
//
-// xlsx.AddShape("Sheet1", "G6", `{"type":"rect","color":{"line":"#4286F4","fill":"#8eb9ff"},"paragraph":[{"text":"Rectangle Shape","font":{"bold":true,"italic":true,"family":"Berlin Sans FB Demi","size":36,"color":"#777777","underline":"sng"}}],"width":180,"height": 90}`)
+// f.AddShape("Sheet1", "G6", `{"type":"rect","color":{"line":"#4286F4","fill":"#8eb9ff"},"paragraph":[{"text":"Rectangle Shape","font":{"bold":true,"italic":true,"family":"Berlin Sans FB Demi","size":36,"color":"#777777","underline":"sng"}}],"width":180,"height": 90}`)
//
// The following shows the type of shape supported by excelize:
//