Freigeben über


PathSegment

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

Represents a segment of a PathFigure object.

Syntax Notes

See Derived Objects for syntax information.

Managed Equivalent

PathSegment

Remarks

For XAML syntaxes that take a PathSegment object, you need to specify a nonabstract derived type of PathSegment as an object element. A PathSegment obtained in script will always be an instance of one of these derived types. For more information, see the XAML syntax on the reference pages for ArcSegment, BezierSegment, LineSegment, PolyBezierSegment, PolyQuadraticBezierSegment, and QuadraticBezierSegment.

For more information on basic concepts, see Geometries. Note that the Geometries topic is written primarily for users of the managed API, and may not have code examples or specific information that address the JavaScript API scenarios.

See Also

Reference