CAIROCONTENT(3) 1 CAIROCONTENT(3)
The CairoContent class
INTRODUCTION
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
CairoContent
Constants
o const integer$CairoContent::COLOR4096
o const integer$CairoContent::ALPHA8192
o const integer$CairoContent::COLOR_ALPHA12288
PREDEFINED CONSTANTS
o CairoContent::COLOR -The surface will hold color content only.
o CairoContent::ALPHA -The surface will hold alpha content only.
o CairoContent::COLOR_ALPHA -The surface will hold color and alpha content.
PHP Documentation Group CAIROCONTENT(3)