# Cubic Bezier Curve with BezierSegment : Path « Windows Presentation Foundation « C# / C Sharp

Cubic Bezier Curve with BezierSegment

```

<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="SDKSample.SampleViewer"
Title="  Examples" >

<Canvas>
<Path Stroke="Black" StrokeThickness="1">
<Path.Data>
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure StartPoint="10,100">
<PathFigure.Segments>
<PathSegmentCollection>
<BezierSegment Point1="100,0" Point2="200,200" Point3="300,100" />
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>

</Window>

```

### Related examples in the same category

 1 Multiple Subpaths with PathFigure 2 Close Path Command with PathFigure 3 Drawn with a Path Shape with Geometry 4 Vertical Line 5 Horizontal Line 6 Line with PathGeometry 7 Elliptical Arc 8 Quadratic Bezier Curve with PathFigure 9 Creates a composite shape from three geometries. This GeometryGroup has a FillRule of NonZero 10 Creates a composite shape from three geometries 11 Multiple Subpaths 12 Close Path Command 13 Elliptical Arc Path 14 Vertical Line with Path 15 Horizontal Line with Path 16 Line with Path 17 Combines two geometries using the intersect combine mode 18 Transform Path defined in Resource 19 Difference between CounterClockwise and Clockwise 20 Path gradient and Bezier 21 Path Angle Animated Button 22 Path Animated Button 23 Squaring The Circle 24 Single Bezier 25 Overlapping Stars 26 Path Mini Language 27 Overlapping Rectangles 28 Multiple Line Segments 29 Figure With Arcs 30 Counterclockwise (default), small arc (default) 31 Counterclockwise (default), IsLargeArc 32 Clockwise, small arc (default) 33 Clockwise, IsLargeArc 34 Eclipse Sun 35 Mini Language Infinity 36 Large ArcSegments 37 Small ArcSegment 38 Bezier Curve with BezierSegment 39 PolyBezierSegment Demo 40 Multiple geometries 41 Combined geometries GeometryCombineMode=Exclude 42 Path.Data with LineSegment 43 Path Margin as resource 44 Shorthand Path data 45 Path with Shadow