Skip to content

Class ParametizedImage

ClassList > ParametizedImage

Inherits the following classes: QQuickPaintedItem

Public Properties

Type Name
property QColor fillColor
property QString source
property QColor strokeColor
property double strokeWidth

Public Signals

Type Name
signal void fillColorChanged
signal void sourceChanged
signal void strokeColorChanged
signal void strokeWidthChanged

Public Functions

Type Name
ParametizedImage (QQuickItem * parent=nullptr)
QColor fillColor () const
void paint (QPainter * painter) override
void setFillColor (const QColor & color)
void setSource (const QString & source)
void setStrokeColor (const QColor & color)
void setStrokeWidth (double width)
QString source () const
QColor strokeColor () const
double strokeWidth () const
~ParametizedImage () = default

Public Properties Documentation

property fillColor [1/2]

QColor ParametizedImage::fillColor;

Returns the current fill color used to paint an image.

Note:

Compatible with parametized SVG images only.


property source [1/2]

QString ParametizedImage::source;

Returns the current source image.


property strokeColor [1/2]

QColor ParametizedImage::strokeColor;

Returns the current stroke color used to paint an image.

Note:

Compatible with parametized SVG images only.


property strokeWidth [1/2]

double ParametizedImage::strokeWidth;

Returns the current stroke width used to paint an image.

Note:

Compatible with parametized SVG images only.


Public Signals Documentation

signal fillColorChanged

void ParametizedImage::fillColorChanged;

signal sourceChanged

void ParametizedImage::sourceChanged;

signal strokeColorChanged

void ParametizedImage::strokeColorChanged;

signal strokeWidthChanged

void ParametizedImage::strokeWidthChanged;

Public Functions Documentation

function ParametizedImage

ParametizedImage::ParametizedImage (
    QQuickItem * parent=nullptr
) 

function fillColor [2/2]

QColor ParametizedImage::fillColor () const

Returns the current fill color used to paint an image.

Note:

Compatible with parametized SVG images only.


function paint

void ParametizedImage::paint (
    QPainter * painter
) override

function setFillColor

void ParametizedImage::setFillColor (
    const QColor & color
) 

Returns the current fill color used to paint an image.

Note:

Compatible with parametized SVG images only.


function setSource

void ParametizedImage::setSource (
    const QString & source
) 

Returns the current source image.


function setStrokeColor

void ParametizedImage::setStrokeColor (
    const QColor & color
) 

Returns the current stroke color used to paint an image.

Note:

Compatible with parametized SVG images only.


function setStrokeWidth

void ParametizedImage::setStrokeWidth (
    double width
) 

Returns the current stroke width used to paint an image.

Note:

Compatible with parametized SVG images only.


function source [2/2]

QString ParametizedImage::source () const

Returns the current source image.


function strokeColor [2/2]

QColor ParametizedImage::strokeColor () const

Returns the current stroke color used to paint an image.

Note:

Compatible with parametized SVG images only.


function strokeWidth [2/2]

double ParametizedImage::strokeWidth () const

Returns the current stroke width used to paint an image.

Note:

Compatible with parametized SVG images only.


function ~ParametizedImage

ParametizedImage::~ParametizedImage () = default


The documentation for this class was generated from the following file src/core/parametizedimage.h