XML UI ← XML types < Shadow

Shadow type defines a visible background 'drop shadow'. Used for displaying fonts.

Inheritance[edit | edit source]

Inherited by: none, Inherits: none, Defined in: Font,FontString

Elements[edit | edit source]

  • Color (Color) - color of the shadow
  • Offset (Dimension) - the amount to offset the shadow from the actual overlayed element

Attributes[edit | edit source]


Summary[edit | edit source]

Example[edit | edit source]

<Frame name="MyFrame">
      <FontString inherits="MyFont">
        <Size x="100" y="100" />
          <Color a="0.9" r="0.2" g="0.2" b="0.2"/>
          <Offset x="1" y="-1"/>

This example will display a font string with a drop shadow thats dark grey and slightly transparent, offset by one unit in each direction to the lower right.

Community content is available under CC-BY-SA unless otherwise noted.