Blog Content

    티스토리 뷰

    27.SilverLight3 - Geometry : BezierSegment

    반응형



    MainPage.xaml

    [그림 27-1]


    <Grid x:Name="LayoutRoot" Background="White">

            <Path Stroke="Black" StrokeThickness="10">

                <Path.Data>

                    <PathGeometry>

                        <PathFigure StartPoint="0, 0">

                            <BezierSegment

                                Point1="150,0"

                                Point2="50,150"

                                Point3="200,200">                           

                            </BezierSegment>

                        </PathFigure>

                    </PathGeometry>

                </Path.Data>

            </Path>

    </Grid>



    반응형

    Comments