CAIROPATTERNTYPE(3) 1 CAIROPATTERNTYPE(3)
The CairoPatternType class
INTRODUCTION
CairoPatternType is used to describe the type of a given pattern.
The type of a pattern is determined by the function used to create it. The cairo_pattern_create_rgb(3) and cairo_pattern_create_rgba(3)
functions create CairoPatternType::SOLID patterns. The remaining cairo_pattern_create_* functions map to pattern types in obvious ways.
CLASS SYNOPSIS
CairoPatternType
CairoPatternType
Constants
o const integer$CairoPatternType::SOLID0
o const integer$CairoPatternType::SURFACE1
o const integer$CairoPatternType::LINEAR2
o const integer$CairoPatternType::RADIAL3
PREDEFINED CONSTANTS
o CairoPatternType::SOLID -The pattern is a solid (uniform) color. It may be opaque or translucent.
o CairoPatternType::SURFACE -The pattern is a based on a surface (an image).
o CairoPatternType::LINEAR -The pattern is a linear gradient.
o CairoPatternType::RADIAL -The pattern is a radial gradient.
PHP Documentation Group CAIROPATTERNTYPE(3)