Skip to content

Tag Definition: roundedCorners

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

radii

implied

None

Can contain
EMPTY

Purpose

This allows you to specify rounded corners for your table. It has one optional attribute: radii which takes a string value "none" or a comma separated list of numbers eg "5,5,0,0" representing the top left, top right, bottom left and bottom right corner radii.

Check out our docs page on this.

Example usage

<stylesheet>
    <blockTableStyle id="table1">
        <lineStyle kind="GRID" colorName="black"/>
        <roundedCorners radii="1,5,15,16"/>
    </blockTableStyle>
</stylesheet>
<story>
    <blockTable style="table1">
        <tr>
            <td>example 1</td>
            <td>example 2</td>
        </tr>
        <tr>
            <td>example 1</td>
            <td>example 2</td>
        </tr>
    </blockTable>
</story>

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> ➔ <stylesheet> ➔ <blockTableStyle> ➔ <roundedCorners>