PolyLineSegment
PolyLineSegment
PolyLineSegment
PolyLineSegment
Class
Definition
public : sealed class PolyLineSegment : PathSegment, IPolyLineSegmentpublic sealed class PolyLineSegment : PathSegment, IPolyLineSegmentPublic NotInheritable Class PolyLineSegment Inherits PathSegment Implements IPolyLineSegment// This API is not available in Javascript.
<PolyLineSegment .../>
- Inheritance
-
PolyLineSegmentPolyLineSegmentPolyLineSegmentPolyLineSegment
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)
GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)
GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)
ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)
Inherited properties
Examples
This example creates a PathGeometry with two PathFigure objects, each of which contains multiple PathSegment objects.
<Canvas>
<Path Stroke="Black" StrokeThickness="4" >
<Path.Data>
<PathGeometry>
<PathGeometry.Figures>
<PathFigure StartPoint="10,50">
<PathFigure.Segments>
<BezierSegment Point1="100,0"
Point2="200,200"
Point3="300,100"/>
<LineSegment Point="400,100" />
<ArcSegment Size="50,50" RotationAngle="45"
IsLargeArc="True" SweepDirection="Clockwise"
Point="200,100"/>
</PathFigure.Segments>
</PathFigure>
<PathFigure StartPoint="10,100">
<PathFigure.Segments>
<PolyLineSegment Points="50,100 50,150" />
<QuadraticBezierSegment Point1="200,200" Point2="300,100"/>
</PathFigure.Segments>
</PathFigure>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>

Constructors
PolyLineSegment() PolyLineSegment() PolyLineSegment() PolyLineSegment()
Initializes a new instance of the PolyLineSegment class.
public : PolyLineSegment()public PolyLineSegment()Public Sub New()// This API is not available in Javascript.
Properties
Points Points Points Points
Gets or sets the collection of Point values that defines this PolyLineSegment object.
public : PointCollection Points { get; set; }public PointCollection Points { get; set; }Public ReadWrite Property Points As PointCollection// This API is not available in Javascript.
<PolyLineSegment Points="pointSet"/>
The points that define this PolyLineSegment object.
PointsProperty PointsProperty PointsProperty PointsProperty
Identifies the Points dependency property.
public : static DependencyProperty PointsProperty { get; }public static DependencyProperty PointsProperty { get; }Public Static ReadOnly Property PointsProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the Points dependency property.