Instance Method

endPage()

Ends the current page in a page-based graphics context.

Declaration

func endPage()

Parameters

c

A page-based graphics context.

Discussion

When using a graphics context that supports multiple pages, you should call this function to terminate drawing in the current page.

See Also

Managing a Page-Based Graphics Context

func beginPage(mediaBox: UnsafePointer<CGRect>?)

Starts a new page in a page-based graphics context.