212 instantiations of LineSegment
PresentationCore (9)
Core\CSharp\System\Windows\Media\ArcSegment.cs (1)
131figure.Segments.Add(new LineSegment(points[0], isStroked, isSmoothJoin));
Core\CSharp\System\Windows\Media\Generated\LineSegment.cs (1)
126return new LineSegment();
Core\CSharp\System\Windows\Media\LineGeometry.cs (1)
254new PathSegment[]{new LineSegment(endPoint, true)},
Core\CSharp\System\Windows\Media\LineSegment.cs (1)
80figure.Segments.Add(new LineSegment(pt, IsStroked, IsSmoothJoin));
Core\CSharp\System\Windows\Media\PathGeometry.cs (1)
528figure.Segments.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth));
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
399LineSegment lSegment = new LineSegment();
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (3)
362new LineSegment(points[4], true, true), 364new LineSegment(points[8], true, true), 366new LineSegment(points[12], true, true),
PresentationFramework (30)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
275PathSegment line = new LineSegment(new Point(hatchRect.Right, hatchRect.Top), true); 279line = new LineSegment(new Point(hatchRect.Right, hatchRect.Bottom), true); 283line = new LineSegment(new Point(hatchRect.Left, hatchRect.Bottom), true); 287line = new LineSegment(new Point(hatchRect.Left, hatchRect.Top), true);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (12)
488LineSegment segment = new LineSegment(new Point(16, 5), true); 492segment = new LineSegment(new Point(26, 15), true); 496segment = new LineSegment(new Point(15, 15), true); 500segment = new LineSegment(new Point(5, 5), true); 512segment = new LineSegment(new Point(5, 10), true); 516segment = new LineSegment(new Point(15, 19), true); 520segment = new LineSegment(new Point(15, 15), true); 524segment = new LineSegment(new Point(5, 5), true); 537segment = new LineSegment(new Point(15, 19), true); 541segment = new LineSegment(new Point(26, 19), true); 545segment = new LineSegment(new Point(26, 15), true); 549segment = new LineSegment(new Point(15, 15), true);
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (8)
539new LineSegment(pt2, true), 540new LineSegment(pt0, true), 552new LineSegment(pt2, true), 553new LineSegment(pt0, true), 644new LineSegment(pt2, true), 645new LineSegment(pt0, true), 657new LineSegment(pt2, true), 658new LineSegment(pt0, true),
src\Framework\System\windows\Documents\CaretElement.cs (2)
730pathFigure.Segments.Add(new LineSegment(new Point(-bidiCaretIndicatorWidth, 0), true)); 731pathFigure.Segments.Add(new LineSegment(new Point(0, _height / BidiIndicatorHeightRatio), true));
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
288pathFigure.Segments.Add(new LineSegment(pathPoint, true)); 293pathFigure.Segments.Add(new LineSegment(pathPoint, true));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6183bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.LineSegment(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1369case KnownElements.LineSegment: o = new System.Windows.Media.LineSegment(); break;
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
884figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true)); 885figure.Segments.Add(new LineSegment(new Point(7, 10.667), true)); 886figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true)); 887figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true)); 888figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true)); 889figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true)); 890figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (3)
629borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 630borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 632borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
328LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 332line = new LineSegment(new Point(8.0, 4.0), false); 340LineSegment line = new LineSegment(new Point(8.0, 0.0), false); 344line = new LineSegment(new Point(4.0, 4.0), false);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
489borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false)); 490borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false)); 491borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false)); 500borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false)); 501borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false)); 502borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
609figure.Segments.Add(new LineSegment(new Point(0, 3.5), true)); 610figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true)); 639figure.Segments.Add(new LineSegment(new Point(4, 3.5), true)); 640figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true)); 669figure.Segments.Add(new LineSegment(new Point(3.5, 0), true)); 670figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true)); 699figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true)); 700figure.Segments.Add(new LineSegment(new Point(7.0, 0.0), true));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Classic (29)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (11)
882figure.Segments.Add(new LineSegment(rect.TopRight, true)); 883figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 884figure.Segments.Add(new LineSegment(rect.BottomLeft, true)); 1086figure.Segments.Add(new LineSegment(new Point(left, top + outerRadius), true)); //left side 1088figure.Segments.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side 1090figure.Segments.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner 1092figure.Segments.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side 1094figure.Segments.Add(new LineSegment(new Point(left + 1.0, bottom), true)); //inner right side 1118figure.Segments.Add(new LineSegment(new Point(right - 1.0, top + outerRadius), true)); //left side 1120figure.Segments.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner 1122figure.Segments.Add(new LineSegment(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
159LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 163line = new LineSegment(new Point(10.0, 5.0), false); 171LineSegment line = new LineSegment(new Point(10.0, 0.0), false); 175line = new LineSegment(new Point(5.0, 5.0), false);
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Luna (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 189line = new LineSegment(new Point(2.5, 2.5), true); 324LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 328line = new LineSegment(new Point(10.0, 5.0), false); 336LineSegment line = new LineSegment(new Point(10.0, 0.0), false); 340line = new LineSegment(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
449figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true)); 450figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true)); 451figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true)); 452figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true)); 453figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true)); 482figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true)); 483figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true)); 484figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true)); 485figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true)); 486figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true)); 515figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true)); 516figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true)); 517figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true)); 518figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true)); 519figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true)); 548figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true)); 549figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true)); 550figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true)); 551figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true)); 552figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
473figure.Segments.Add(new LineSegment(rect.TopRight, true)); 474figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 475figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Royale (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
110LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 118line = new LineSegment(new Point(2.5, 2.5), true); 246LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 250line = new LineSegment(new Point(10.0, 5.0), false); 258LineSegment line = new LineSegment(new Point(10.0, 0.0), false); 262line = new LineSegment(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
409figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true)); 410figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true)); 411figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true)); 412figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true)); 413figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true)); 442figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true)); 443figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true)); 444figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true)); 445figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true)); 446figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true)); 475figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true)); 476figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true)); 477figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true)); 478figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true)); 479figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true)); 508figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true)); 509figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true)); 510figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true)); 511figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true)); 512figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
473figure.Segments.Add(new LineSegment(rect.TopRight, true)); 474figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 475figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
System.Activities.Presentation (16)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (12)
68new LineSegment() { Point = new Point(-DropTargetOffset, (size.Height / 2) - (TriangleBaseLength / 2)) }, 69new LineSegment() { Point = new Point(-DropTargetOffset, (size.Height / 2) + (TriangleBaseLength / 2)) }, 70new LineSegment() { Point = new Point(-DropTargetOffset - TriangleHeight, size.Height / 2) } 83new LineSegment() { Point = new Point(size.Width + DropTargetOffset + TriangleHeight, size.Height / 2) }, 84new LineSegment() { Point = new Point(size.Width + DropTargetOffset, (size.Height / 2) + (TriangleBaseLength / 2)) }, 85new LineSegment() { Point = new Point(size.Width + DropTargetOffset, (size.Height / 2) - (TriangleBaseLength / 2)) } 98new LineSegment() { Point = new Point((size.Width / 2), -DropTargetOffset - TriangleHeight) }, 99new LineSegment() { Point = new Point((size.Width / 2) + (TriangleBaseLength / 2), -DropTargetOffset) }, 100new LineSegment() { Point = new Point((size.Width / 2) - (TriangleBaseLength / 2), -DropTargetOffset) } 113new LineSegment() { Point = new Point((size.Width / 2) + (TriangleBaseLength / 2), size.Height + DropTargetOffset) }, 114new LineSegment() { Point = new Point((size.Width / 2), size.Height + TriangleHeight + DropTargetOffset) }, 115new LineSegment() { Point = new Point((size.Width / 2) - (TriangleBaseLength / 2), size.Height + DropTargetOffset) }
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (4)
26retVal.Add(new LineSegment(pointCollection[0], true)); 44retVal.Add(new LineSegment(turningPoint1, true)); 50retVal.Add(new LineSegment(pointCollection[i], true)); 53retVal.Add(new LineSegment(pointCollection[pointCollection.Count - 1], true));
22 references to LineSegment
PresentationCore (6)
Core\CSharp\System\Windows\Media\Generated\LineSegment.cs (5)
65public new LineSegment Clone() 67return (LineSegment)base.Clone(); 74public new LineSegment CloneCurrentValue() 76return (LineSegment)base.CloneCurrentValue(); 229Type typeofThis = typeof(LineSegment);
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
399LineSegment lSegment = new LineSegment();
PresentationFramework (6)
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
488LineSegment segment = new LineSegment(new Point(16, 5), true);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
988else if (pathSegment is LineSegment) 990Point endPoint = (pathSegment as LineSegment).Point;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
445case 353: t = () => typeof(LineSegment); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6181typeof(System.Windows.Media.LineSegment),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5897case KnownElements.LineSegment: t = typeof(System.Windows.Media.LineSegment); break;
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
328LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 340LineSegment line = new LineSegment(new Point(8.0, 0.0), false);
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
159LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 171LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 324LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 336LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
110LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 246LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 258LineSegment line = new LineSegment(new Point(10.0, 0.0), false);