XML/Texture

<Texture> (inherits from , creates a widget) draws an image, solid color, or gradient.
 <Texture>
 	<TexCoords />
 	<Color />
 	<Gradient />
 </Texture>
==Attributes==
:file () - Loads a BLP, JPEG or TGA.
:mask () - Applies a .
:alphaMode (ui:ALPHAMODE?) - Blends overlapping textures.
:alpha () - Sets from 0 to 1.
:scale () - Scales the widget's .
:snapToPixelGrid ()
:texelSnappingBias ()
:hWrapMode (ui:WRAPMODE)
:vWrapMode (ui:WRAPMODE)
:ignoreParentAlpha () - Controls alpha or as a fraction of its parent's alpha.
:ignoreParentScale () - Controls alpha or as a fraction of its parent's scale.
:nonBlocking ()
:horizTile ()
:vertTile ()
:atlas () - Loads a file and coords.
:useAtlasSize ()
:desaturated () - Removes .
==Child elements==
==Example==
<Texture name="SparkleTextureNormal" file="Interface\ItemSocketingFrame\UI-ItemSockets" alphaMode="ADD" hidden="true">
	<Size>
		<AbsDimension x="13" y="13"/>
	</Size>
	<Anchors>
		<Anchor point="CENTER">
			<Offset>
				<AbsDimension x="0" y="0"/>
			</Offset>
 		</Anchor>
	</Anchors>
	<TexCoords left="0.3984375" right="0.4453125" top="0.40234375" bottom="0.44921875"/>
</Texture>
== Notes ==
* If the XML texture has no anchors, the texture object will implicitly have :SetAllPoints() called on it.