summaryrefslogtreecommitdiff
path: root/shape.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-08-21 23:03:34 +0800
committerxuri <xuri.me@gmail.com>2019-08-21 23:03:34 +0800
commit407fb55c20a2524c4eccad9361120dee2a2719cd (patch)
treeae16f68165d5cbdcbdb1ac7675f1051fe10f6734 /shape.go
parentda99334fca412c33e9e077703e7373b0899e8a87 (diff)
Update the Godoc
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 e3ed968..8d95849 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:
//
-// err := 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}`)
+// err := f.AddShape("Sheet1", "G6", `{"type":"rect","color":{"line":"#4286F4","fill":"#8eb9ff"},"paragraph":[{"text":"Rectangle Shape","font":{"bold":true,"italic":true,"family":"Times New Roman","size":36,"color":"#777777","underline":"sng"}}],"width":180,"height": 90}`)
//
// The following shows the type of shape supported by excelize:
//