Name | |
---|---|
constexpr | QskShadowMetrics(const QPointF & offset =QPointF()) |
constexpr | QskShadowMetrics(qreal spreadRadius, qreal blurRadius, const QPointF & offset =QPointF()) |
constexpr bool | operator==(const QskShadowMetrics & other) const |
constexpr bool | operator!=(const QskShadowMetrics & other) const |
void | setSpreadRadius(qreal radius) |
constexpr qreal | spreadRadius() const |
void | setBlurRadius(qreal radius) |
constexpr qreal | blurRadius() const |
constexpr qreal | totalRadius() const |
void | setOffset(qreal dx, qreal dy) |
void | setOffset(const QPointF & offset) |
constexpr QPointF | offset() const |
void | setSizeMode(Qt::SizeMode sizeMode) |
constexpr Qt::SizeMode | sizeMode() const |
QskShadowMetrics | interpolated(const QskShadowMetrics & to, qreal value) const |
QskShadowMetrics | toAbsolute(const QSizeF & size) const |
QRectF | shadowRect(const QRectF & sourceRect) const |
uint | hash(uint seed =0) const |
QVariant | interpolate(const QskShadowMetrics & from, const QskShadowMetrics & to, qreal progress) |
Name | |
---|---|
QPointF | offset |
qreal | spreadRadius |
qreal | blurRadius |
Qt::SizeMode | sizeMode |
inline constexpr QskShadowMetrics(
const QPointF & offset =QPointF()
)
inline constexpr QskShadowMetrics(
qreal spreadRadius,
qreal blurRadius,
const QPointF & offset =QPointF()
)
inline constexpr bool operator==(
const QskShadowMetrics & other
) const
inline constexpr bool operator!=(
const QskShadowMetrics & other
) const
inline void setSpreadRadius(
qreal radius
)
inline constexpr qreal spreadRadius() const
inline void setBlurRadius(
qreal radius
)
inline constexpr qreal blurRadius() const
inline constexpr qreal totalRadius() const
inline void setOffset(
qreal dx,
qreal dy
)
inline void setOffset(
const QPointF & offset
)
inline constexpr QPointF offset() const
inline void setSizeMode(
Qt::SizeMode sizeMode
)
inline constexpr Qt::SizeMode sizeMode() const
QskShadowMetrics interpolated(
const QskShadowMetrics & to,
qreal value
) const
QskShadowMetrics toAbsolute(
const QSizeF & size
) const
QRectF shadowRect(
const QRectF & sourceRect
) const
uint hash(
uint seed =0
) const
static QVariant interpolate(
const QskShadowMetrics & from,
const QskShadowMetrics & to,
qreal progress
)
QPointF offset;
qreal spreadRadius;
qreal blurRadius;
Qt::SizeMode sizeMode;
Updated on 28 July 2023 at 14:02:28 CEST