Menu
Samaritan's Purse

RECT

The rect element defines a rectangle which is axis-aligned with the current user coordinate system. Rounded rectangles can be achieved by setting non-zero values for the rx and ry geometric properties.

SYNTAX

<rect attribute-name="attribute-value"/>
x

Defines the x coordinate of the rectangle.

y

Defines the y coordinate of the rectangle.

width

Defines the width of the rectangle.

height

Defines the height of the rectangle.

rx

Defines the x-axis of the radius.

ry

Defines the y-axis of the radius.

pathLength

Defines the total length of the path in user units.

EXAMPLES

ATTRIBUTE | X

ATTRIBUTE | Y

ATTRIBUTE | WIDTH

ATTRIBUTE | HEIGHT

ATTRIBUTE | RX

ATTRIBUTE | RY

ATTRIBUTE | PATHLENGTH

PROPERTY | X

PROPERTY | Y

PROPERTY | WIDTH

PROPERTY | HEIGHT

PROPERTY | RX

PROPERTY | RY

INTERNAL

circle

ellipse

line

polygon

polyline

EXTERNAL

World Wide Web Consortium (W3C)