Enumeration

CGPatternTiling

Different methods for rendering a tiled pattern.

Declaration

typedef enum CGPatternTiling : int32_t {
    ...
} CGPatternTiling;

Topics

Constants

kCGPatternTilingNoDistortion

The pattern cell is not distorted when painted. The spacing between pattern cells may vary by as much as 1 device pixel.

kCGPatternTilingConstantSpacingMinimalDistortion

Pattern cells are spaced consistently. The pattern cell may be distorted by as much as 1 device pixel when the pattern is painted.

kCGPatternTilingConstantSpacing

Pattern cells are spaced consistently, as with kCGPatternTilingConstantSpacingMinimalDistortion. The pattern cell may be distorted additionally to permit a more efficient implementation.