SVGStyleCatcher.h 651 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // SVGStyelCatcher.h
  3. // StyleTouch
  4. //
  5. // Created by Kevin Stich on 3/6/12.
  6. // Copyright (c) 2012 __MyCompanyName__. All rights reserved.
  7. //
  8. #ifndef StyleTouch_SVGStyelCatcher_h
  9. #define StyleTouch_SVGStyelCatcher_h
  10. #if TARGET_OS_IOS
  11. #import <UIKit/UIKit.h>
  12. #endif
  13. @class SVGElement;
  14. @protocol SVGStyleCatcher <NSObject>
  15. //-(void)styleCatchElement:(SVGElement *)styledLayer forClass:(NSString *)colorIndex;
  16. //-(void)styleCatchNewStyle:(NSString *)className;
  17. -(void)styleCatchLayer:(CALayer *)styledLayer forClass:(NSString *)colorIndex;
  18. #if TARGET_OS_IOS
  19. -(UIColor *)styleCatchOverrideFill:(NSString *)fillClassName;
  20. #endif
  21. @end
  22. #endif