Rectangle


Draws a Rectangle shape.

Syntax

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

Attributes

The Rectangle element must contain the following attributes:

x, y, width, height

A collection of geometric attributes that specify the rectangle's size and position.

These attributes are transformable.

Inner elements

The Rectangle element must contain either a single Stroke element or a single Fill element. A rectangle can also optionally contain any number of Transform elements.

目前没有任何推荐文档页面。

请尝试您的 Google 账号。