# LayerAlpha - [Overview](#section1838686204165632) - [Summary](#section300763369165632) - [Data Fields](#pub-attribs) - [Details](#section1045015011165632) - [Field](#section677756790165632) - [alpha0](#a3353553145a2a896ceaeef3b16149612) - [alpha1](#a2b1d0f73d9ab9a17b2b41ef93c003e62) - [enAlpha](#adcf7ccbaaabb8180fcc896bf251f56db) - [enChnAlpha](#a079f3b69885e57b552016ba3c748522d) - [gAlpha](#a4ad49522585efedeb70e86de72d84dc0) ## **Overview** **Related Modules:** [Display](Display.md) **Description:** Defines alpha operations on a layer. ## **Summary** ## Data Fields

Variable Name

Description

enAlpha

bool

enChnAlpha

bool

alpha0

uint8_t

alpha1

uint8_t

gAlpha

uint8_t

## **Details** ## **Field ** ## alpha0 ``` uint8_t LayerAlpha::alpha0 ``` **Description:** Alpha0 value, ranging from 0 to 255 ## alpha1 ``` uint8_t LayerAlpha::alpha1 ``` **Description:** Alpha1 value, ranging from 0 to 255 ## enAlpha ``` bool LayerAlpha::enAlpha ``` **Description:** Pixel alpha enable bit ## enChnAlpha ``` bool LayerAlpha::enChnAlpha ``` **Description:** Channel alpha enable bit ## gAlpha ``` uint8_t LayerAlpha::gAlpha ``` **Description:** Global alpha value, ranging from 0 to 255