BezierSegment.Point1 Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the first control point of the curve.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<BezierSegment Point1="x,y"/>
XAML Values
Property Value
Type: System.Windows.PointThe first control point of the curve. The default is a Point with value 0,0.
Dependency property identifier field: Point1Property
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 does not necessarily pass through either of the control points; each control point moves its portion of the line toward itself, but not through itself.
The XAML syntax for this property specifies a new Point as a string. The delimiter between the x and y values of the point can be either a comma or a space. Note that the comma usage has potential to clash with the usage of a comma as the decimal point in some UI cultures. For more information, see the "XAML Attribute Syntax" section of Point.