LOTShapeStar.h 973 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // LOTShapeStar.h
  3. // Lottie
  4. //
  5. // Created by brandon_withrow on 7/27/17.
  6. // Copyright © 2017 Airbnb. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "LOTKeyframe.h"
  10. typedef enum : NSUInteger {
  11. LOTPolystarShapeNone,
  12. LOTPolystarShapeStar,
  13. LOTPolystarShapePolygon
  14. } LOTPolystarShape;
  15. @interface LOTShapeStar : NSObject
  16. - (instancetype)initWithJSON:(NSDictionary *)jsonDictionary;
  17. @property (nonatomic, readonly) NSString *keyname;
  18. @property (nonatomic, readonly) LOTKeyframeGroup *outerRadius;
  19. @property (nonatomic, readonly) LOTKeyframeGroup *outerRoundness;
  20. @property (nonatomic, readonly) LOTKeyframeGroup *innerRadius;
  21. @property (nonatomic, readonly) LOTKeyframeGroup *innerRoundness;
  22. @property (nonatomic, readonly) LOTKeyframeGroup *position;
  23. @property (nonatomic, readonly) LOTKeyframeGroup *numberOfPoints;
  24. @property (nonatomic, readonly) LOTKeyframeGroup *rotation;
  25. @property (nonatomic, readonly) LOTPolystarShape type;
  26. @end