Skip to content

Tag Definition: rect

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

altText

implied

None

destination

implied

None

fill

implied

None

height

required

None

href

implied

None

round

implied

None

stroke

implied

None

tagType

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>