Skip to content

Tag Definition: rect

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

destination

implied

None

fill

implied

None

height

required

None

href

implied

None

round

implied

None

stroke

implied

None

width

required

None

x

required

None

y

required

None

Can contain
EMPTY

Purpose

Draw a rectangle as a graphic on the page.

Check out our docs page on this.

Example usage

<pageGraphics>
    <fill color="red"/>
    <rect height="382" width="535" x="30" y="30" fill="true"/>
</pageGraphics>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <template> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <rect>