YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::sig::ImageLayer Class Reference

A single layer of a layered image. More...

#include <yarp/sig/LayeredImage.h>

Classes

class  alpha_s
 
class  colorkey_s
 

Public Member Functions

 ImageLayer (const yarp::sig::FlexImage &img, bool ena=true, colorkey_s ckey=colorkey_s(), alpha_s alph=alpha_s(), bool compress=true, int off_x=0, int off_y=0)
 

Public Attributes

yarp::sig::FlexImage layer
 
bool enable =true
 
colorkey_s colorkey
 
alpha_s alpha
 
bool can_be_compressed = true
 
int offset_x =0
 
int offset_y =0
 

Detailed Description

A single layer of a layered image.

Definition at line 23 of file LayeredImage.h.

Constructor & Destructor Documentation

◆ ImageLayer()

yarp::sig::ImageLayer::ImageLayer ( const yarp::sig::FlexImage img,
bool  ena = true,
colorkey_s  ckey = colorkey_s(),
alpha_s  alph = alpha_s(),
bool  compress = true,
int  off_x = 0,
int  off_y = 0 
)
inline

Definition at line 63 of file LayeredImage.h.

Member Data Documentation

◆ alpha

alpha_s yarp::sig::ImageLayer::alpha

Definition at line 57 of file LayeredImage.h.

◆ can_be_compressed

bool yarp::sig::ImageLayer::can_be_compressed = true

Definition at line 59 of file LayeredImage.h.

◆ colorkey

colorkey_s yarp::sig::ImageLayer::colorkey

Definition at line 46 of file LayeredImage.h.

◆ enable

bool yarp::sig::ImageLayer::enable =true

Definition at line 27 of file LayeredImage.h.

◆ layer

yarp::sig::FlexImage yarp::sig::ImageLayer::layer

Definition at line 26 of file LayeredImage.h.

◆ offset_x

int yarp::sig::ImageLayer::offset_x =0

Definition at line 60 of file LayeredImage.h.

◆ offset_y

int yarp::sig::ImageLayer::offset_y =0

Definition at line 61 of file LayeredImage.h.


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