Im trying to apply a Mask to a rectangle and I get this error:
And the Mask have the size of mask.png not of the rectangle…
I am aplying the mask like this:
<Rectangle HeightUnit="Percent" Height="8.5" WidthUnit="Percent" Width="80">
<SolidColor Color="#1D1E1C" />
<Mask>
<texture2D ux:Binding="Texture" ux:Path="Assets/images/Mask.png" />
</Mask>
</Rectangle>