QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGradientMaterial Class Reference

Detailed Description

Definition at line 13 of file QskGradientMaterial.h.

Inheritance diagram for QskGradientMaterial:

Public Member Functions

bool updateGradient (const QRectF &, const QskGradient &)
 
QskGradient::Type gradientType () const
 
const QskGradientStops & stops () const
 
QskGradient::SpreadMode spreadMode () const
 

Static Public Member Functions

static QskGradientMaterialcreateMaterial (QskGradient::Type)
 

Protected Member Functions

 QskGradientMaterial (QskGradient::Type)
 
void setStops (const QskGradientStops &)
 
void setSpreadMode (QskGradient::SpreadMode)
 

Constructor & Destructor Documentation

◆ QskGradientMaterial()

QskGradientMaterial::QskGradientMaterial ( QskGradient::Type  type)
protected

Definition at line 698 of file QskGradientMaterial.cpp.

Member Function Documentation

◆ createMaterial()

QskGradientMaterial * QskGradientMaterial::createMaterial ( QskGradient::Type  gradientType)
static

Definition at line 736 of file QskGradientMaterial.cpp.

◆ gradientType()

QskGradient::Type QskGradientMaterial::gradientType ( ) const
inline

Definition at line 37 of file QskGradientMaterial.h.

◆ setSpreadMode()

void QskGradientMaterial::setSpreadMode ( QskGradient::SpreadMode  spreadMode)
inlineprotected

Definition at line 47 of file QskGradientMaterial.h.

◆ setStops()

void QskGradientMaterial::setStops ( const QskGradientStops &  stops)
inlineprotected

Definition at line 42 of file QskGradientMaterial.h.

◆ spreadMode()

QskGradient::SpreadMode QskGradientMaterial::spreadMode ( ) const
inline

Definition at line 57 of file QskGradientMaterial.h.

◆ stops()

const QskGradientStops & QskGradientMaterial::stops ( ) const
inline

Definition at line 52 of file QskGradientMaterial.h.

◆ updateGradient()

bool QskGradientMaterial::updateGradient ( const QRectF &  rect,
const QskGradient gradient 
)

Definition at line 712 of file QskGradientMaterial.cpp.