rectangle
Draw a rectangle.
Attributes
Attributes |
Description |
---|---|
color |
Sets the font color by the using RGB-triplet (#ffffff for white; #ff0000 for red, etc) or from list of the predefined colors below. |
draw |
Sets the outline of the object to be visible. The outline is drawn using the color and stroke defined for the element. |
dynamic |
A dynamic element increases the height of the element to fit the content of that element. Computing that dynamic height is expensive, so use it with care. |
fill |
Fills the rectangle with the color defined by the color attribute. |
height |
Determines the minimum height. Value is a whole number where each increment is equivalent to 1/72 of an inch or percentage. |
href |
Sets a hyperlink for the section. |
name |
Used to reference the element later. Functions pick up elements by their name. |
reserved-literal |
Determines the text printed when the text does not fit completely into an element. |
stroke-style |
Defines how the lines of the shape get drawn. |
trim-text-content |
Defines, whether leading and trailing whitespaces of the generated lines get removed. Important for a clean layout. |
vertical-alignment |
Sets the vertical position of the text. |
weight |
Defines the width of the pen used to draw the outline of the rectangle. |
width |
Set the horizontal width of the object. Width is required. |
x |
Defines the horizontal starting position an object defined by a value or percentage. |
y |
Defines the vertical starting position of an object defined by a value or percentage. |