Export (0) Print
Expand All

BezierSegment.Point2 Property

Gets or sets the second control point of the curve.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public Point Point2 { get; set; }
<object>
  <object.Point2>
    <Point .../>
  </object.Point2>
</object>
<object Point2="Point" .../>

Property Value

Type: System.Windows.Point
The second control point of the curve.

Identifier field

Point2Property

Metadata properties set to true

None

The two control points of a cubic Bezier curve behave like magnets, attracting portions of what would otherwise be a straight line toward themselves and producing a curve. The first control point, Point1, affects the beginning portion of the curve; the second control point, Point2, affects the ending portion of the curve. Note that the curve doesn't necessarily pass through either of the control points; each control point moves its portion of the line toward itself, but not through itself.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft