From 1548a171183873c55ce7b60e1034002a5baf58d3 Mon Sep 17 00:00:00 2001 From: Christy Date: Mon, 8 Mar 2021 19:19:37 -0600 Subject: [PATCH] Cleaned up how-to-create-a-cubic-bezier-curve.md (#220) * Cleaned up how-to-create-a-cubic-bezier-curve.md Removed unnecessary [xml] tags * Update how-to-create-a-cubic-bezier-curve.md Co-authored-by: Andy De George <67293991+adegeo@users.noreply.github.com> --- .../how-to-create-a-cubic-bezier-curve.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md index f10eec5..562826e 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-create-a-cubic-bezier-curve.md @@ -12,13 +12,10 @@ ms.assetid: 450a3a77-7c57-48b0-a008-0f6051add980 This example shows how to create a cubic Bezier curve. To create a cubic Bezier curve, use the , , and classes. To display the resulting geometry, use a element, or use it with a or a . In the following examples, a cubic Bezier curve is drawn from (10, 100) to (300, 100). The curve has control points of (100, 0) and (200, 200). ## Example - [xaml] - + In [!INCLUDE[TLA#tla_xaml](../../../includes/tlasharptla-xaml-md.md)], you may use abbreviated markup syntax to describe a path. - [!code-xaml[GeometrySample#53](~/samples/snippets/csharp/VS_Snippets_Wpf/GeometrySample/CS/geometryattributesyntaxexample.xaml#53)] - - [xaml] + [!code-xaml[GeometrySample#53](~/samples/snippets/csharp/VS_Snippets_Wpf/GeometrySample/CS/geometryattributesyntaxexample.xaml#53)] In [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)], you can also draw a cubic Bezier curve using object tags. The following is equivalent to the previous [!INCLUDE[TLA2#tla_xaml](../../../includes/tla2sharptla-xaml-md.md)] example.