Declaration

func transformColors(_ block: @escaping (NSColor) -> NSColor?)

Declaration

- (void) transformColorsUsingBlock:(NSColor * (^)(NSColor *)) block;

Declaration

transformColorsUsingBlock_(: NSColor, block)

Discussion

Fill and stroke colors, gradient colors, and shadow colors are included. Colors in component glyphs are not included.

Return the original color or nil to leave a color unchanged.