WPFPixelShaderLibrary
v1.0.2
| Nuget 패키지
.NET 프레임 워크 v.4.6 (이상) 또는 .NET Core 3.0 (또는 더 높은)이 필요합니다.
이 repo의 거친 Python- 등급을 위해 https://github.com/unknown6656-megacorp/unknown6656.cvglpixelshader를 살펴보십시오.
xmlns:fx="https://unknown6656.com/wpfpslib" XAML 네임 스페이스 정의에 추가하여 효과를 사용합니다.
< Window x : Class = " MyTestApp.MainWindow "
xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation "
xmlns : x = " http://schemas.microsoft.com/winfx/2006/xaml "
xmlns : d = " http://schemas.microsoft.com/expression/blend/2008 "
xmlns : fx = " https://unknown6656.com/wpfpslib "
...
/>
< Grid >
< Button Width = " 100 " Height = " 25 " >
< Button .Effect>
< fx : PixelationEffect Count = " 40,20 " />
</ Button .Effect>
PRESS ME !
</ Button >
</ Grid >
</ Window >결과:
