// // Color+Interpolation.h // // Created by Leo Natan on 01/10/2016. // Copyright © 2016 Leo Natan. All rights reserved. // #if __has_include() || __has_include() #import "LNInterpolable.h" #if __has_include() #import #else #import #endif /** Interpolate using the LAB color space for optimal quality. This constant is equal to @c LNUseDefaultInterpolationBehavior. */ extern LNInterpolationBehavior const LNInterpolationBehaviorUseLABColorSpace; /** Interpolate using the RGB color space. */ extern LNInterpolationBehavior const LNInterpolationBehaviorUseRGBColorSpace; /** Interpolates between colors. By default, colors are interpolated in the Lab color space for optimal quality at the expense of some performance. Use @c LNUseRGBInterpolationBehavior for better performance but suboptimal quality. */ #if __has_include() @interface UIColor (LNInterpolation) @end #else @interface NSColor (LNInterpolation) @end #endif #endif