Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickVectorImageGenerator::StrokeStyle Struct Reference

#include <qquicknodeinfo_p.h>

Collaboration diagram for QQuickVectorImageGenerator::StrokeStyle:

Static Public Member Functions

static StrokeStyle fromPen (const QPen &p)

Public Attributes

Qt::PenCapStyle lineCapStyle = Qt::SquareCap
Qt::PenJoinStyle lineJoinStyle = Qt::MiterJoin
int miterLimit = 4
bool cosmetic = false
qreal dashOffset = 0
QList< qrealdashArray
QQuickAnimatedProperty color = QQuickAnimatedProperty(QVariant::fromValue(QColorConstants::Transparent))
QQuickAnimatedProperty opacity = QQuickAnimatedProperty(QVariant::fromValue(qreal(1.0)))
qreal width = 1.0

Detailed Description

Definition at line 69 of file qquicknodeinfo_p.h.

Member Function Documentation

◆ fromPen()

StrokeStyle QQuickVectorImageGenerator::StrokeStyle::fromPen ( const QPen & p)
inlinestatic

Definition at line 81 of file qquicknodeinfo_p.h.

References cosmetic, and miterLimit.

Member Data Documentation

◆ color

Definition at line 77 of file qquicknodeinfo_p.h.

◆ cosmetic

bool QQuickVectorImageGenerator::StrokeStyle::cosmetic = false

Definition at line 74 of file qquicknodeinfo_p.h.

Referenced by fromPen().

◆ dashArray

QList<qreal> QQuickVectorImageGenerator::StrokeStyle::dashArray

Definition at line 76 of file qquicknodeinfo_p.h.

◆ dashOffset

qreal QQuickVectorImageGenerator::StrokeStyle::dashOffset = 0

Definition at line 75 of file qquicknodeinfo_p.h.

◆ lineCapStyle

Qt::PenCapStyle QQuickVectorImageGenerator::StrokeStyle::lineCapStyle = Qt::SquareCap

Definition at line 71 of file qquicknodeinfo_p.h.

◆ lineJoinStyle

Qt::PenJoinStyle QQuickVectorImageGenerator::StrokeStyle::lineJoinStyle = Qt::MiterJoin

Definition at line 72 of file qquicknodeinfo_p.h.

◆ miterLimit

int QQuickVectorImageGenerator::StrokeStyle::miterLimit = 4

Definition at line 73 of file qquicknodeinfo_p.h.

Referenced by fromPen().

◆ opacity

QQuickAnimatedProperty QQuickVectorImageGenerator::StrokeStyle::opacity = QQuickAnimatedProperty(QVariant::fromValue(qreal(1.0)))

Definition at line 78 of file qquicknodeinfo_p.h.

◆ width

qreal QQuickVectorImageGenerator::StrokeStyle::width = 1.0

Definition at line 79 of file qquicknodeinfo_p.h.


The documentation for this struct was generated from the following file: