It is possible to apply a mask to any element.
It can be useful for creating non-rectangular shapes or prevent other elements to run out its borders.
To use:
- in the element definition add an attribute mask=”true”
- add sub xml to the element :
<el eltype="plugin" x="0" y="0" w="100%" h="100%" size="no" datatype="xml" attr="engurl" mask="true" >
<mask>
<el eltype="rect" x="0" y="0" w="100%" h="100%" c="0xcccccc" />
</mask>
</el>
The element formed in the el/mask/ area will define a mask on the rest of the element its applied to.
For example, see source code at
http://ximl.com/sites/ximl_tabs1/conf.xml