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
StrokeStyle Struct Reference

#include <qquicknodeinfo_p.h>

Collaboration diagram for 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 56 of file qquicknodeinfo_p.h.

Member Function Documentation

◆ fromPen()

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

Definition at line 68 of file qquicknodeinfo_p.h.

References cosmetic, and miterLimit.

Member Data Documentation

◆ color

◆ cosmetic

bool StrokeStyle::cosmetic = false

Definition at line 61 of file qquicknodeinfo_p.h.

Referenced by fromPen().

◆ dashArray

QList<qreal> StrokeStyle::dashArray

Definition at line 63 of file qquicknodeinfo_p.h.

◆ dashOffset

qreal StrokeStyle::dashOffset = 0

Definition at line 62 of file qquicknodeinfo_p.h.

◆ lineCapStyle

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

Definition at line 58 of file qquicknodeinfo_p.h.

◆ lineJoinStyle

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

Definition at line 59 of file qquicknodeinfo_p.h.

◆ miterLimit

int StrokeStyle::miterLimit = 4

Definition at line 60 of file qquicknodeinfo_p.h.

Referenced by fromPen().

◆ opacity

Definition at line 65 of file qquicknodeinfo_p.h.

◆ width

qreal StrokeStyle::width = 1.0

Definition at line 66 of file qquicknodeinfo_p.h.


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