CSPolyline QML Type

Display a polyline. More...

Import Statement: import CSDataQuick.Components 1.0
Inherits:

CSGraphics

Properties

Detailed Description

Draws the polyline defined by the points array. Note that unlike CSPolygon, the last point is not connected to the first, unless the first point is repeated at the end.

CSPolyline {
    width: 100
    height: 100
    points: [
        Qt.point(10.0, 80.0),Qt.point(20.0, 10.0),
        Qt.point(80.0, 30.0),Qt.point(90.0, 70.0)
    ]
}

See also CSPolygon.

Property Documentation

arrowPosition : int

This property indicates where the arrow is draw.

See also ArrowPosition.


points : list<point>

This property holds the trace of the polyline as a list of points.