1. Scripts

以下のように入力してください。

this.options.content.push({
  // この中に図形のプロパティ情報を追加していきます。
 // 共通プロパティ
    type: 'rect', 
    left: 0,
    top: 0, 
    width:100, // circle, lineの場合,ここのみ指定 textでは変化しない
    height:100,
    fill:'rgb(255,0,0)',// nullまたは'red' 'rgb(X,X,X)'
    stroke:'black', // nullまたは'red' 'rgb(X,X,X)'
    strokeWidth:'10',
    angle: 0
})

以下のように入力してみてください(上記のコードをコピペでもかまいません)。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/cd972c25-f3f4-4287-a5fe-f74cc49aed5a/Untitled.png

以下のように黒い枠線の正方形が呈示されます。

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3460aaf5-fdb4-4483-aef0-480b37a8cd8e/Untitled.png