Rectangle

繪製矩形形狀。

語法

<Rectangle x="float" y="float" width="float" height="float" />

屬性

Rectangle 元素必須包含下列屬性:

xywidthheight
一組指定矩形大小和位置的幾何屬性

內部元素

Rectangle 元素必須包含單一 Stroke 元素或單一 Fill 元素。矩形也可視需要包含任意數量的 Transform 元素。