形状

    1. err := f.AddShape("Sheet1", "G6", `{
    2. "type": "rect",
    3. "color":
    4. {
    5. "line": "#4286F4",
    6. "fill": "#8eb9ff"
    7. },
    8. "text": "Rectangle Shape",
    9. "font":
    10. {
    11. "bold": true,
    12. "italic": true,
    13. "family": "Times New Roman",
    14. "size": 36,
    15. }
    16. }],
    17. "width": 180,
    18. "height": 90,
    19. "line":
    20. {
    21. "width": 1.5

    下面是 Excelize 所支持的所有形状: