LunarMind/ConceptWidgets/CustomBrushes/_RectangleGlassButtons.xaml
(开头部分) 16KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<VisualBrush x:Key="RectangleGlassButton_Red">
<VisualBrush.Visual>
<Viewbox Stretch="Fill" StretchDirection="Both" >
<Canvas Height="100" Width="100">
<Rectangle Height="98" Width="98" Margin="1" Stroke="White" Fill="White" Stretch="Fill"/>
<Rectangle Height="100" Width="100" Opacity="1" Stroke="Red" Fill="Red" Stretch="Fill"/>
<Rectangle Height="100" Width="100" Stroke="Transparent" Stretch="Fill">
<Rectangle.Fill>
<LinearGradientBrush Opacity="0.8" StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="White" Offset="0"/>
<GradientStop Color="Transparent" Offset="0.25"/>
<GradientStop Color="Transparent" Offset="0.75"/>
<GradientStop Color="White" Offset="1.0"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Canvas>
</Viewbox>
</VisualBrush.Visual>
</VisualBrush>
<VisualBrush x:Key="RectangleGlassButton_Orange">
<VisualBrush.Visual>
<Viewbox Stretch="Fill" StretchDirection="Both" >
<Canvas Height="100" Width="100">
<Rectangle Height="98" Width="98" Margin="1" Stroke="White" Fill="White" Stretch="Fill"/>
<Rectangle Height="100" Width="100" Opacity="1" Stroke="Orange" Fill="Orange" Stretch="Fill"/>
<Rectangle Height="100" Width="100" Stroke="Transparent" Stretch="Fill">
<Rectangle.Fill>
<LinearGradientBrush Opacity="0.8" StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="White" Offset="0"/>
<GradientStop Color="Transparent" Offset="0.25"/>
<GradientStop Color="Transparent" Offset="0.75"/>
<GradientStop Color="White" Offset="1.0"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Canvas>
</Viewbox>
</VisualBrush.Visual>
</VisualBrush>
<VisualBrush x:Key="RectangleGlassButton_DeepPink">
<VisualBrush.Visual>
<Viewbox Stretch="Fill" StretchDirection="Both" >
<Canvas Height="100" Width="100">
<Rectangle Height="98" Width="98" Margin="1" Stroke="White" Fill="White" Stretch="Fill"/>
<Rectangle Height="100" Width="100" Opacity="1" Stroke="DeepPink" Fill="DeepPink" Stretch="Fill"/>
<Rectangle Height="100" Width="100" Stroke="Transparent" Stretch="Fill">
<Rectangle.Fill>
<LinearGradientBrush Opacity="0.8" StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="White" Offset="0"/>
<GradientStop Color="Transparent" Offset="0.25"/>
<GradientStop Color="Transparent" Offset="0.75"/>
<GradientStop Color="White" Offset="1.0"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
后面还有 282 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。