첨부 소스 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
<FlowDocument>
    ...
    <BlockUIContainer>
        <Polygon
            Points="144 48, 200 222, 53 114, 235 114, 88 222"
            Stroke="Blue"
            StrokeThickness="5">
            <Polygon.Fill>
                <LinearGradientBrush StartPoint="0 0" EndPoint="1 0">
                    <GradientStopCollection>
                        <GradientStop Offset="0"   Color="Red"   />
                        <GradientStop Offset="0.5" Color="Green" />
                        <GradientStop Offset="1"   Color="BLue"  />
                    </GradientStopCollection>
                </LinearGradientBrush>
            </Polygon.Fill>
        </Polygon>
    </BlockUIContainer>
    ...
</FlowDocument>

※ BlockUIContainer는 UIElement 타입을 포함할 수 있다.

728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요