Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Point2 Property
Collapse the table of content
Expand the table of content

BezierSegment.Point2 Property

Gets or sets the second control point of the curve.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Property Point2 As Point
<BezierSegment Point2="x,y"/>

XAML Values

x

The X value of the Point that specifies the second control point of the segment.

y

The Y value of a Point that specifies the second control point of the segment.

Property Value

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

Dependency property identifier field: Point2Property

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.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft