Class Polyline
Draws a series of connected straight lines.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Shapes
Assembly: OpenSilver.dll
Syntax
public sealed class Polyline : Shape
Constructors
| Improve this Doc View SourcePolyline()
Initializes a new instance of the Polyline class.
Declaration
public Polyline()
Fields
| Improve this Doc View SourceFillRuleProperty
Identifies the FillRule dependency property.
Declaration
public static readonly DependencyProperty FillRuleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PointsProperty
Identifies the Points dependency property.
Declaration
public static readonly DependencyProperty PointsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceFillRule
Gets or sets a value that specifies how the interior fill of the shape is determined.
Declaration
public FillRule FillRule { get; set; }
Property Value
Type | Description |
---|---|
FillRule | A value of the enumeration that specifies the fill behavior. The default is EvenOdd. |
Points
Gets or sets a collection that contains the vertex points of the Polyline.
Declaration
public PointCollection Points { get; set; }
Property Value
Type | Description |
---|---|
PointCollection | A collection of Point structures that describe the vertex points of the Polyline. The default is null. |
Methods
| Improve this Doc View SourceCreateDomElement(Object, out Object)
Declaration
public override object CreateDomElement(object parentRef, out object domElementWhereToPlaceChildren)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parentRef | |
System.Object | domElementWhereToPlaceChildren |
Returns
Type | Description |
---|---|
System.Object |
Overrides
| Improve this Doc View SourceMeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Size | availableSize |
Returns
Type | Description |
---|---|
Size |
Overrides
| Improve this Doc View SourceRedraw()
Declaration
protected override void Redraw()