CTFramePathFillRule Constants

These constants specify the fill rule used by a frame

Declaration

enum
{
   kCTFramePathFillEvenOdd = 0,
   kCTFramePathFillWindingNumber = 1
};
typedef uint32_t CTFramePathFillRule;

Overview

When a path intersects with itself, the client should specify which rule to use for deciding the area of the path.

Topics

Constants

kCTFramePathFillEvenOdd

Text is filled in the area that would be painted if the path were given to CGContextEOFillPath.

kCTFramePathFillWindingNumber

Text is fill in the area that would be painted if the path were given to CGContextFillPath.