QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsRasterTransparency::TransparentThreeValuePixel Struct Reference

Defines the transparency for a RGB pixel value. More...

#include <qgsrastertransparency.h>

Public Member Functions

 TransparentThreeValuePixel (double red=0, double green=0, double blue=0, double opacity=0)
 Constructor for TransparentThreeValuePixel.
 
bool operator!= (const QgsRasterTransparency::TransparentThreeValuePixel &other) const
 
bool operator== (const QgsRasterTransparency::TransparentThreeValuePixel &other) const
 

Public Attributes

double blue
 Blue pixel value.
 
double green
 Green pixel value.
 
double opacity = 0
 Opacity for pixel, between 0 and 1.0.
 
double red
 Red pixel value.
 

Detailed Description

Defines the transparency for a RGB pixel value.

Definition at line 47 of file qgsrastertransparency.h.

Constructor & Destructor Documentation

◆ TransparentThreeValuePixel()

QgsRasterTransparency::TransparentThreeValuePixel::TransparentThreeValuePixel ( double  red = 0,
double  green = 0,
double  blue = 0,
double  opacity = 0 
)
inline

Constructor for TransparentThreeValuePixel.

Parameters
redred pixel value
greengreen pixel value
blueblue pixel value
opacityopacity for pixel, between 0 and 1.0
Since
QGIS 3.38

Definition at line 58 of file qgsrastertransparency.h.

Member Function Documentation

◆ operator!=()

bool QgsRasterTransparency::TransparentThreeValuePixel::operator!= ( const QgsRasterTransparency::TransparentThreeValuePixel other) const
inline

Definition at line 94 of file qgsrastertransparency.h.

◆ operator==()

bool QgsRasterTransparency::TransparentThreeValuePixel::operator== ( const QgsRasterTransparency::TransparentThreeValuePixel other) const
inline

Definition at line 87 of file qgsrastertransparency.h.

Member Data Documentation

◆ blue

double QgsRasterTransparency::TransparentThreeValuePixel::blue

Blue pixel value.

Definition at line 78 of file qgsrastertransparency.h.

◆ green

double QgsRasterTransparency::TransparentThreeValuePixel::green

Green pixel value.

Definition at line 73 of file qgsrastertransparency.h.

◆ opacity

double QgsRasterTransparency::TransparentThreeValuePixel::opacity = 0

Opacity for pixel, between 0 and 1.0.

Since
QGIS 3.38

Definition at line 85 of file qgsrastertransparency.h.

◆ red

double QgsRasterTransparency::TransparentThreeValuePixel::red

Red pixel value.

Definition at line 68 of file qgsrastertransparency.h.


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