Contents

CGPattern

A 2D pattern to be used for drawing graphics paths.

Declaration

class CGPattern

Overview

Core Graphics tiles the pattern cell for you, based on parameters you specify when you call init(info:bounds:matrix:xStep:yStep:tiling:isColored:callbacks:).

To create a dashed line, see CGContextSetLineDash.

Topics

Creating a Pattern

Callbacks

Constants

Working with Core Foundation Types

See Also

Related Documentation

  • Quartz 2D Programming Guide

Utility and Support Classes