■ Polygon 엘리먼트 사용하기

----------------------------------------------------------------------------------------------------

 

<Polygon

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Stroke="Blue"

    StrokeThickness="5"

    Points="91 0, 147 174, 0 66, 182 66, 35 174">

    <Polygon.Fill>

        <RadialGradientBrush>

            <GradientStop Offset="0" Color="Blue" />

            <GradientStop Offset="1" Color="Red"  />

        </RadialGradientBrush>

    </Polygon.Fill>

</Polygon>

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker

댓글을 달아 주세요