SVGStylable.h 588 B

1234567891011121314151617181920212223
  1. /**
  2. http://www.w3.org/TR/SVG/types.html#InterfaceSVGStylable
  3. interface SVGStylable {
  4. readonly attribute SVGAnimatedString className;
  5. readonly attribute CSSStyleDeclaration style;
  6. CSSValue getPresentationAttribute(in DOMString name);
  7. */
  8. #import <Foundation/Foundation.h>
  9. #import "CSSStyleDeclaration.h"
  10. #import "CSSValue.h"
  11. @protocol SVGStylable <NSObject>
  12. @property(nonatomic,retain) /*FIXME: should be of type: SVGAnimatedString */ NSString* className;
  13. @property(nonatomic,retain) CSSStyleDeclaration* style;
  14. -(CSSValue*) getPresentationAttribute:(NSString*) name;
  15. @end