Sdílet prostřednictvím


Point1 (BezierSegment)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the first control point of a curve.

<object Point1="Point"  .../>
value = object.Point1
object.Point1 = value

Property Value

Type: Point

The first control point of the curve.

This property is read/write. The default value is a Point with value 0,0.

Managed Equivalent

Point1

Remarks

See the "Remarks" section in the Point reference topic for scripting usages of this property.

The two control points of a cubic Bezier curve behave conceptually 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.

Applies To

BezierSegment