KLayout Manual: Main Index » Class Index » API reference - Class QPainterPathStroker

API reference - Class QPainterPathStroker

Notation used in Ruby API documentation

Description: Binding of QPainterPathStroker

Public constructors

new QPainterPathStrokernewConstructor QPainterPathStroker::QPainterPathStroker()

Public methods

[const]Qt_PenCapStylecapStyleMethod Qt::PenCapStyle QPainterPathStroker::capStyle()
voidcapStyle=(const Qt_PenCapStyle style)Method void QPainterPathStroker::setCapStyle(Qt::PenCapStyle style)
voidcreateEnsures the C++ object is created
[const]QPainterPathcreateStroke(const QPainterPath path)Method QPainterPath QPainterPathStroker::createStroke(const QPainterPath &path)
[const]doublecurveThresholdMethod double QPainterPathStroker::curveThreshold()
voidcurveThreshold=(double threshold)Method void QPainterPathStroker::setCurveThreshold(double threshold)
[const]doubledashOffsetMethod double QPainterPathStroker::dashOffset()
voiddashOffset=(double offset)Method void QPainterPathStroker::setDashOffset(double offset)
[const]double[]dashPatternMethod QVector<double> QPainterPathStroker::dashPattern()
voiddashPattern=(const Qt_PenStyle arg1)Method void QPainterPathStroker::setDashPattern(Qt::PenStyle )
voiddashPattern=(double[] dashPattern)Method void QPainterPathStroker::setDashPattern(const QVector<double> &dashPattern)
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]Qt_PenJoinStylejoinStyleMethod Qt::PenJoinStyle QPainterPathStroker::joinStyle()
voidjoinStyle=(const Qt_PenJoinStyle style)Method void QPainterPathStroker::setJoinStyle(Qt::PenJoinStyle style)
[const]doublemiterLimitMethod double QPainterPathStroker::miterLimit()
voidmiterLimit=(double length)Method void QPainterPathStroker::setMiterLimit(double length)
voidsetCapStyle(const Qt_PenCapStyle style)Method void QPainterPathStroker::setCapStyle(Qt::PenCapStyle style)
voidsetCurveThreshold(double threshold)Method void QPainterPathStroker::setCurveThreshold(double threshold)
voidsetDashOffset(double offset)Method void QPainterPathStroker::setDashOffset(double offset)
voidsetDashPattern(const Qt_PenStyle arg1)Method void QPainterPathStroker::setDashPattern(Qt::PenStyle )
voidsetDashPattern(double[] dashPattern)Method void QPainterPathStroker::setDashPattern(const QVector<double> &dashPattern)
voidsetJoinStyle(const Qt_PenJoinStyle style)Method void QPainterPathStroker::setJoinStyle(Qt::PenJoinStyle style)
voidsetMiterLimit(double length)Method void QPainterPathStroker::setMiterLimit(double length)
voidsetWidth(double width)Method void QPainterPathStroker::setWidth(double width)
[const]doublewidthMethod double QPainterPathStroker::width()
voidwidth=(double width)Method void QPainterPathStroker::setWidth(double width)

Detailed description

[const] Qt_PenCapStyle capStyle

Description: Method Qt::PenCapStyle QPainterPathStroker::capStyle()

void capStyle=(const Qt_PenCapStyle style)

Description: Method void QPainterPathStroker::setCapStyle(Qt::PenCapStyle style)

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

[const] QPainterPath createStroke(const QPainterPath path)

Description: Method QPainterPath QPainterPathStroker::createStroke(const QPainterPath &path)

[const] double curveThreshold

Description: Method double QPainterPathStroker::curveThreshold()

void curveThreshold=(double threshold)

Description: Method void QPainterPathStroker::setCurveThreshold(double threshold)

[const] double dashOffset

Description: Method double QPainterPathStroker::dashOffset()

void dashOffset=(double offset)

Description: Method void QPainterPathStroker::setDashOffset(double offset)

[const] double[] dashPattern

Description: Method QVector<double> QPainterPathStroker::dashPattern()

void dashPattern=(const Qt_PenStyle arg1)

Description: Method void QPainterPathStroker::setDashPattern(Qt::PenStyle )

void dashPattern=(double[] dashPattern)

Description: Method void QPainterPathStroker::setDashPattern(const QVector<double> &dashPattern)

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] Qt_PenJoinStyle joinStyle

Description: Method Qt::PenJoinStyle QPainterPathStroker::joinStyle()

void joinStyle=(const Qt_PenJoinStyle style)

Description: Method void QPainterPathStroker::setJoinStyle(Qt::PenJoinStyle style)

[const] double miterLimit

Description: Method double QPainterPathStroker::miterLimit()

void miterLimit=(double length)

Description: Method void QPainterPathStroker::setMiterLimit(double length)

[static] new QPainterPathStroker new

Description: Constructor QPainterPathStroker::QPainterPathStroker()

This method creates an object of class QPainterPathStroker.

void setCapStyle(const Qt_PenCapStyle style)

Description: Method void QPainterPathStroker::setCapStyle(Qt::PenCapStyle style)

void setCurveThreshold(double threshold)

Description: Method void QPainterPathStroker::setCurveThreshold(double threshold)

void setDashOffset(double offset)

Description: Method void QPainterPathStroker::setDashOffset(double offset)

void setDashPattern(const Qt_PenStyle arg1)

Description: Method void QPainterPathStroker::setDashPattern(Qt::PenStyle )

void setDashPattern(double[] dashPattern)

Description: Method void QPainterPathStroker::setDashPattern(const QVector<double> &dashPattern)

void setJoinStyle(const Qt_PenJoinStyle style)

Description: Method void QPainterPathStroker::setJoinStyle(Qt::PenJoinStyle style)

void setMiterLimit(double length)

Description: Method void QPainterPathStroker::setMiterLimit(double length)

void setWidth(double width)

Description: Method void QPainterPathStroker::setWidth(double width)

[const] double width

Description: Method double QPainterPathStroker::width()

void width=(double width)

Description: Method void QPainterPathStroker::setWidth(double width)