WoW:XML/Gradient: Difference between revisions
< XML
Jump to navigation
Jump to search
(Created page with "{{uixml}} Gradient defines a color visible gradient. == Inheritance == Inherited by: none, Inherits: none, Defined in: multiple == Elements == * MinColor (...") |
m (Move page script moved page XML/Gradient to XML/Gradient without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 16: | Line 16: | ||
=== Example === | === Example === | ||
<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. | This example will show a opaque gradient texture, fading from black to white horizontally. |
Latest revision as of 04:49, 15 August 2023
← 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]
- orientation (ORIENTATION) - Default is HORIZONTAL.
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.