PolyQuadraticBezierSegment PolyQuadraticBezierSegment PolyQuadraticBezierSegment Class

Definition

Represents a set of quadratic Bezier segments.

public : sealed class PolyQuadraticBezierSegment : PathSegment, IPolyQuadraticBezierSegment
public sealed class PolyQuadraticBezierSegment : PathSegment, IPolyQuadraticBezierSegment
Public NotInheritable Class PolyQuadraticBezierSegment Inherits PathSegment Implements IPolyQuadraticBezierSegment
<PolyQuadraticBezierSegment .../>
Inheritance
PolyQuadraticBezierSegmentPolyQuadraticBezierSegmentPolyQuadraticBezierSegment
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

This example creates two curves using a PolyQuadraticBezierSegment to specify the coordinates.

<Canvas>
    <Path Stroke="Black" StrokeThickness="4">
        <Path.Data>
            <PathGeometry>
                <PathGeometry.Figures>
                    <PathFigureCollection>

                        <!-- The StartPoint specifies the starting point of the first curve. -->
                        <PathFigure StartPoint="10,100">
                            <PathFigure.Segments>
                                <PathSegmentCollection>

                                    <!-- The PolyQuadraticBezierSegment specifies two Bezier curves.
                  The first curve is from 10,100 (start point specified above)
                  to 300,100 with a control point of 200,200. The second curve
                  is from 200,200 (end of the last curve) to 30,400 with a 
                  control point of 0,200. -->
                                    <PolyQuadraticBezierSegment Points="200,200 300,100 0,200 30,400" />
                                </PathSegmentCollection>
                            </PathFigure.Segments>
                        </PathFigure>
                    </PathFigureCollection>
                </PathGeometry.Figures>
            </PathGeometry>
        </Path.Data>
    </Path>
</Canvas>

Constructors

PolyQuadraticBezierSegment() PolyQuadraticBezierSegment() PolyQuadraticBezierSegment()

Initializes a new instance of the PolyQuadraticBezierSegment class.

public : PolyQuadraticBezierSegment()
public PolyQuadraticBezierSegment()
Public Sub New()

Properties

Dispatcher Dispatcher Dispatcher

Inherited from DependencyObject

Points Points Points

Gets or sets the Point collection that defines this PolyQuadraticBezierSegment object.

public : PointCollection Points { get; set; }
public PointCollection Points { get; set; }
Public ReadWrite Property Points As PointCollection
<PolyQuadraticBezierSegment Points="pointSet"/>
Value
PointCollection PointCollection PointCollection

A collection of points that defines the shape of this PolyQuadraticBezierSegment object. The default value is an empty collection.

Examples

This example creates two curves using a PolyQuadraticBezierSegment to specify the coordinates.

<Canvas>
    <Path Stroke="Black" StrokeThickness="4">
        <Path.Data>
            <PathGeometry>
                <PathGeometry.Figures>
                    <PathFigureCollection>

                        <!-- The StartPoint specifies the starting point of the first curve. -->
                        <PathFigure StartPoint="10,100">
                            <PathFigure.Segments>
                                <PathSegmentCollection>

                                    <!-- The PolyQuadraticBezierSegment specifies two Bezier curves.
                  The first curve is from 10,100 (start point specified above)
                  to 300,100 with a control point of 200,200. The second curve
                  is from 200,200 (end of the last curve) to 30,400 with a 
                  control point of 0,200. -->
                                    <PolyQuadraticBezierSegment Points="200,200 300,100 0,200 30,400" />
                                </PathSegmentCollection>
                            </PathFigure.Segments>
                        </PathFigure>
                    </PathFigureCollection>
                </PathGeometry.Figures>
            </PathGeometry>
        </Path.Data>
    </Path>
</Canvas>

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
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Points dependency property.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Inherited from DependencyObject

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Inherited from DependencyObject

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Inherited from DependencyObject

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Inherited from DependencyObject

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Inherited from DependencyObject

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Inherited from DependencyObject

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Inherited from DependencyObject

See Also