Contents

draw(for:active:)

Calls Draw(for:with:active:) with a default value for box parameter.

Declaration

func draw(for page: PDFPage, active: Bool)

Discussion

The default value is kPDFDisplayBoxCropBox. If active is true, drawing uses selectedTextBackgroundColor. If false, it uses secondarySelectedControlColor.

See Also

Managing Selection Drawing