Point2 Property (BezierSegment)
Gets or sets the second control point of the curve.
XAML |
<object Point2="Point" .../>
|
Scripting |
value = object.Point2 object.Point2 = value |
Property Value
The second control point of the curve.
This property is read/write. The default value is a point with value 0,0.
Remarks
See remarks in Point for scripting usages of this property.
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.