Wikia

WoWWiki

XML/Gradient

Talk0
101,358pages on
this wiki

< XML

XML UI ← XML types < Gradient

Gradient defines a visible color gradient.

Inheritance Edit

Inherited by: none, Inherits: none, Defined in: multiple

Elements Edit

Attributes Edit

Summary Edit

Example Edit

<Frame name="MyFrame">
  <Layers>
    <Layer>
      <Texture>
        <Size x="100" y="100" />
        <Gradient orientation="HORIZONTAL">
          <MinColor a="1" r="0" g="0" b="0"/>
          <MaxColor a="1" r="1" g="1" b="1"/>
        </Gradient>
      </Texture>
    </Layer>
  </Layers>
</Frame>

This example will show a opaque gradient texture, fading from black to white horizontally.

Around Wikia's network

Random Wiki