我对我的PSD应用了以下效果:
==============投影阴影=============
-混合模式:叠加
-颜色:黑色
-不透明度:50%
-角度:90
=========内部阴影================
-混合模式:正常
-颜色:白色
-不透明度:62%
-角度:120
=======渐变叠加===============
-混合模式:正常
-不透明度:100%
-角度:90
-起始颜色:#8a8a8a
-结束颜色:#ffffff
以下是来自PSD的图像 如何应用到Textblack,我已经应用了以下代码:
==============投影阴影=============
-混合模式:叠加
-颜色:黑色
-不透明度:50%
-角度:90
=========内部阴影================
-混合模式:正常
-颜色:白色
-不透明度:62%
-角度:120
=======渐变叠加===============
-混合模式:正常
-不透明度:100%
-角度:90
-起始颜色:#8a8a8a
-结束颜色:#ffffff
以下是来自PSD的图像 如何应用到Textblack,我已经应用了以下代码:
<TextBlock x:Name="lblTitle" Margin="5" Foreground="#FFFFFFFF" FontWeight="Bold" FontSize="20" FontFamily="Arial Bold"
TextOptions.TextFormattingMode="Display" TextAlignment="Left" TextWrapping="Wrap" Text="Tournament: $3 + $0.30 KO Sit and Go">
<TextBlock.Effect>
<DropShadowEffect Color="Black" Opacity="50" Direction="-90" RenderingBias="Quality" ShadowDepth="2" >
</DropShadowEffect>
</TextBlock.Effect>
</TextBlock>