PHP 7.2.7 Released

The CairoContent class


CairoContent is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs. opacity), or both.

Note: The large values here are designed to keep CairoContent values distinct from CairoContent values so that the implementation can detect the error if users confuse the two types.

Class synopsis

CairoContent {
/* Constants */
const integer CairoContent::COLOR = 4096 ;
const integer CairoContent::ALPHA = 8192 ;
const integer CairoContent::COLOR_ALPHA = 12288 ;

Predefined Constants

CairoContent Node Types


The surface will hold color content only.


The surface will hold alpha content only.


The surface will hold color and alpha content.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top