LineGeometry : Geometry « Windows Presentation Foundation « C# / CSharp Tutorial





<Window x:Class="Workspace.DockExample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Workspace" Width="640" Height="480">
          <Path Stroke="Black" StrokeThickness="1">
            <Path.Data>
              <LineGeometry StartPoint="10,10" EndPoint="50,30" />
            </Path.Data>
          </Path>

</Window>
WPF Line Geometry










24.105.Geometry
24.105.1.LineGeometryLineGeometry
24.105.2.EllipseGeometryEllipseGeometry
24.105.3.RectangleGeometryRectangleGeometry
24.105.4.Animate GeometryDrawing ExamplesAnimate GeometryDrawing Examples
24.105.5.CombinedGeometry for Path.Data and DrawingBrush for Path.FillCombinedGeometry for Path.Data and DrawingBrush for Path.Fill
24.105.6.Combines two geometries using the XOR combine modeCombines two geometries using the XOR combine mode
24.105.7.Combines two geometries using the union combine modeCombines two geometries using the union combine mode
24.105.8.Combines two geometries using the exclude combine modeCombines two geometries using the exclude combine mode
24.105.9.Geometry Transform for RectangleGeometry Transform for Rectangle
24.105.10.Geometry Transform for PathGeometry Transform for Path
24.105.11.Geometry Used with a DrawingBrushGeometry Used with a DrawingBrush
24.105.12.Geometry Used as a ClipGeometry Used as a Clip
24.105.13.Tiled GeometryTiled Geometry
24.105.14.Ellipse Geometry DemoEllipse Geometry Demo
24.105.15.LineGeometry DemoLineGeometry Demo
24.105.16.Use PolyBezierSegment to Simulated CircleUse PolyBezierSegment to Simulated Circle
24.105.17.Converting text to geometryConverting text to geometry
24.105.18.Use a PathGeometry object to highlight displayed text.Use a PathGeometry object to highlight displayed text.
24.105.19.Shape ExcludeShape Exclude
24.105.20.Shape XorShape Xor
24.105.21.Shape UnionShape Union