Rounded rectangle object
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for a rounded rectangle object.
|
Elements |
Description |
|---|---|
|
FillColor |
Fill color. Specified by a color element. Default is rgb(212, 208, 200). |
|
Pen |
Pen element. |
|
Dimension |
Location and size of an object. Elements are top, left, width, height. Top, left, width, and height values are pixels. The resulting coordinates must be within -32000 and +32000. Both width and height cannot be zero. Required. An object is not created if the Dimension element is assigned invalid values or is missing values. |
|
CornerDimension |
Elements width and height. Corner width cannot exceed the width of the rectangle. Corner height cannot exceed the height of the rectangle. Corner width and corner height must be at least 1. Default is 20, 20. |
|
Title |
Object name. Optional. |
|
AnimationLinks |
Optional animation links list. |
Example:
<RoundedRectangle>
<Title>RoundedRectangle1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
<Left>100</Left>
<Top>50</Top>
<Width>270</Width>
<Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
<AnimationLinks>
</AnimationLinks>
<CornerDimension>
<Width>8</Width>
<Height>8</Height>
</CornerDimension>
</RoundedRectangle>
Minimal example:
<RoundedRectangle>
<Dimension>
<Left>100</Left><Top>50</Top>
<Width>270</Width><Height>80</Height>
</Dimension>
</RoundedRectangle>