C

PathDataIterator Class

class Qul::PlatformInterface::PathDataIterator

A convenience class for iterating over path data segments. More...

Header: #include <platforminterface/pathdata.h>
Since: Qt Quick Ultralite (Platform) 1.8

Public Functions

PathDataIterator(const Qul::PlatformInterface::PathData *pathData)
bool hasNext() const
Qul::PlatformInterface::PathDataSegment next()
Qul::PlatformInterface::PathDataSegment peek()

Detailed Description

Use this class to iterate over the path segments of Qul::PlatformInterface::PathData.

Member Function Documentation

PathDataIterator::PathDataIterator(const Qul::PlatformInterface::PathData *pathData)

Path data iterator constructor.

Constructs a path data iterator for the given pathData object.

bool PathDataIterator::hasNext() const

Returns true if the path data iterator has more path data segments.

Qul::PlatformInterface::PathDataSegment PathDataIterator::next()

Returns the next path data segment.

Qul::PlatformInterface::PathDataSegment PathDataIterator::peek()

Returns the next path data segment without incrementing the iterator.

Available under certain Qt licenses.
Find out more.