<overlaytemplate>

Describes an overlay template that contains common attributes shared by multiple overlays.

Syntax

<overlaytemplate
    template = "string"  
    position = "X<int>Y<int>"
    size = "X<int>Y<int>"
    delay = "seconds"
    layer = "positive int"
    borderwidth = "positive int"  
    bordercolor = "string"
    timeout = "seconds"
    bgcolor = "string"
/>

Attributes

The same attributes are supported as for <overlay>, except that the template attribute is required for <overlaytemplate>.

Details

The overlay template is defined in an XML file. Each XML file must contain only one template definition.

Once a template is defined, you can refer to it in the template attribute of <overlay>. If the template attribute is specified in both <overlay> and <overlaytemplate>, the attribute in <overlay> overrides the one in <overlaytemplate>.

For more information on text overlay and image overlay, see <overlay>.

Parents

<overlaydescription>

Children

<content>