첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170

TestProject.zip
0.01MB

▶ MainWindow.xaml

<Window x:Class="TestProject.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="800"
    Height="600"
    Title="TestProject"
    Background="#2a2a2a"
    FontFamily="나눔고딕코딩"
    FontSize="16">
    <Canvas
        Width="280"
        Height="120">
        <Polyline
            StrokeThickness="2"
            Stroke="#bb0000"
            Fill="#ff0000"
            Points="10 110 60 10 110 110 105 110 60 18 15 110 10 110">
            <Polyline.Effect>
                <BlurEffect
                    KernelType="Gaussian"
                    Radius="10" />
            </Polyline.Effect>
        </Polyline>
        <Polyline
            StrokeThickness="2"
            Stroke="#bb0000"
            Fill="#ff0000"
            Points="10 110 60 10 110 110 105 110 60 18 15 110 10 110" />
        <Polyline Canvas.Left="150"
            Points="10 105 110 105 110 10 115 10 115 110 10 110 10 105"
            StrokeThickness="2"
            Stroke="#00BB00"
            Fill="#00ff00">
            <Polyline.Effect>
                <BlurEffect
                    KernelType="Gaussian"
                    Radius="10" />
            </Polyline.Effect>
        </Polyline>
        <Polyline Canvas.Left="150"
            Points="10 105 110 105 110 10 115 10 115 110 10 110 10 105"
            StrokeThickness="2"
            Stroke="#00BB00"
            Fill="#00ff00" />
    </Canvas>
</Window>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요