Svga.pbobjc.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: svga.proto
  3. // This CPP symbol can be defined to use imports that match up to the framework
  4. // imports needed when using CocoaPods.
  5. #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
  6. #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
  7. #endif
  8. #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
  9. #import <Protobuf/GPBProtocolBuffers.h>
  10. #else
  11. #import "GPBProtocolBuffers.h"
  12. #endif
  13. #if GOOGLE_PROTOBUF_OBJC_VERSION < 30002
  14. #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
  15. #endif
  16. #if 30002 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
  17. #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
  18. #endif
  19. // @@protoc_insertion_point(imports)
  20. #pragma clang diagnostic push
  21. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  22. CF_EXTERN_C_BEGIN
  23. @class SVGAProtoAudioEntity;
  24. @class SVGAProtoFrameEntity;
  25. @class SVGAProtoLayout;
  26. @class SVGAProtoMovieParams;
  27. @class SVGAProtoShapeEntity;
  28. @class SVGAProtoShapeEntity_EllipseArgs;
  29. @class SVGAProtoShapeEntity_RectArgs;
  30. @class SVGAProtoShapeEntity_ShapeArgs;
  31. @class SVGAProtoShapeEntity_ShapeStyle;
  32. @class SVGAProtoShapeEntity_ShapeStyle_RGBAColor;
  33. @class SVGAProtoSpriteEntity;
  34. @class SVGAProtoTransform;
  35. NS_ASSUME_NONNULL_BEGIN
  36. #pragma mark - Enum SVGAProtoShapeEntity_ShapeType
  37. typedef GPB_ENUM(SVGAProtoShapeEntity_ShapeType) {
  38. /**
  39. * Value used if any message's field encounters a value that is not defined
  40. * by this enum. The message will also have C functions to get/set the rawValue
  41. * of the field.
  42. **/
  43. SVGAProtoShapeEntity_ShapeType_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  44. /** 路径 */
  45. SVGAProtoShapeEntity_ShapeType_Shape = 0,
  46. /** 矩形 */
  47. SVGAProtoShapeEntity_ShapeType_Rect = 1,
  48. /** 圆形 */
  49. SVGAProtoShapeEntity_ShapeType_Ellipse = 2,
  50. /** 与前帧一致 */
  51. SVGAProtoShapeEntity_ShapeType_Keep = 3,
  52. };
  53. GPBEnumDescriptor *SVGAProtoShapeEntity_ShapeType_EnumDescriptor(void);
  54. /**
  55. * Checks to see if the given value is defined by the enum or was not known at
  56. * the time this source was generated.
  57. **/
  58. BOOL SVGAProtoShapeEntity_ShapeType_IsValidValue(int32_t value);
  59. #pragma mark - Enum SVGAProtoShapeEntity_ShapeStyle_LineCap
  60. typedef GPB_ENUM(SVGAProtoShapeEntity_ShapeStyle_LineCap) {
  61. /**
  62. * Value used if any message's field encounters a value that is not defined
  63. * by this enum. The message will also have C functions to get/set the rawValue
  64. * of the field.
  65. **/
  66. SVGAProtoShapeEntity_ShapeStyle_LineCap_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  67. SVGAProtoShapeEntity_ShapeStyle_LineCap_LineCapButt = 0,
  68. SVGAProtoShapeEntity_ShapeStyle_LineCap_LineCapRound = 1,
  69. SVGAProtoShapeEntity_ShapeStyle_LineCap_LineCapSquare = 2,
  70. };
  71. GPBEnumDescriptor *SVGAProtoShapeEntity_ShapeStyle_LineCap_EnumDescriptor(void);
  72. /**
  73. * Checks to see if the given value is defined by the enum or was not known at
  74. * the time this source was generated.
  75. **/
  76. BOOL SVGAProtoShapeEntity_ShapeStyle_LineCap_IsValidValue(int32_t value);
  77. #pragma mark - Enum SVGAProtoShapeEntity_ShapeStyle_LineJoin
  78. typedef GPB_ENUM(SVGAProtoShapeEntity_ShapeStyle_LineJoin) {
  79. /**
  80. * Value used if any message's field encounters a value that is not defined
  81. * by this enum. The message will also have C functions to get/set the rawValue
  82. * of the field.
  83. **/
  84. SVGAProtoShapeEntity_ShapeStyle_LineJoin_GPBUnrecognizedEnumeratorValue = kGPBUnrecognizedEnumeratorValue,
  85. SVGAProtoShapeEntity_ShapeStyle_LineJoin_LineJoinMiter = 0,
  86. SVGAProtoShapeEntity_ShapeStyle_LineJoin_LineJoinRound = 1,
  87. SVGAProtoShapeEntity_ShapeStyle_LineJoin_LineJoinBevel = 2,
  88. };
  89. GPBEnumDescriptor *SVGAProtoShapeEntity_ShapeStyle_LineJoin_EnumDescriptor(void);
  90. /**
  91. * Checks to see if the given value is defined by the enum or was not known at
  92. * the time this source was generated.
  93. **/
  94. BOOL SVGAProtoShapeEntity_ShapeStyle_LineJoin_IsValidValue(int32_t value);
  95. #pragma mark - SVGAProtoSvgaRoot
  96. /**
  97. * Exposes the extension registry for this file.
  98. *
  99. * The base class provides:
  100. * @code
  101. * + (GPBExtensionRegistry *)extensionRegistry;
  102. * @endcode
  103. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  104. * this file and all files that it depends on.
  105. **/
  106. @interface SVGAProtoSvgaRoot : GPBRootObject
  107. @end
  108. #pragma mark - SVGAProtoMovieParams
  109. typedef GPB_ENUM(SVGAProtoMovieParams_FieldNumber) {
  110. SVGAProtoMovieParams_FieldNumber_ViewBoxWidth = 1,
  111. SVGAProtoMovieParams_FieldNumber_ViewBoxHeight = 2,
  112. SVGAProtoMovieParams_FieldNumber_Fps = 3,
  113. SVGAProtoMovieParams_FieldNumber_Frames = 4,
  114. };
  115. @interface SVGAProtoMovieParams : GPBMessage
  116. /** 画布宽 */
  117. @property(nonatomic, readwrite) float viewBoxWidth;
  118. /** 画布高 */
  119. @property(nonatomic, readwrite) float viewBoxHeight;
  120. /** 动画每秒播放帧数,合法值是 [1, 2, 3, 5, 6, 10, 12, 15, 20, 30, 60] 中的任意一个。 */
  121. @property(nonatomic, readwrite) int32_t fps;
  122. /** 动画总帧数 */
  123. @property(nonatomic, readwrite) int32_t frames;
  124. @end
  125. #pragma mark - SVGAProtoSpriteEntity
  126. typedef GPB_ENUM(SVGAProtoSpriteEntity_FieldNumber) {
  127. SVGAProtoSpriteEntity_FieldNumber_ImageKey = 1,
  128. SVGAProtoSpriteEntity_FieldNumber_FramesArray = 2,
  129. SVGAProtoSpriteEntity_FieldNumber_MatteKey = 3,
  130. };
  131. @interface SVGAProtoSpriteEntity : GPBMessage
  132. /** 元件所对应的位图键名, 如果 imageKey 含有 .vector 后缀,该 sprite 为矢量图层 含有 .matte 后缀,该 sprite 为遮罩图层。 */
  133. @property(nonatomic, readwrite, copy, null_resettable) NSString *imageKey;
  134. /** 帧列表 */
  135. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<SVGAProtoFrameEntity*> *framesArray;
  136. /** The number of items in @c framesArray without causing the array to be created. */
  137. @property(nonatomic, readonly) NSUInteger framesArray_Count;
  138. /** 被遮罩图层的 matteKey 对应的是其遮罩图层的 imageKey. */
  139. @property(nonatomic, readwrite, copy, null_resettable) NSString *matteKey;
  140. @end
  141. #pragma mark - SVGAProtoAudioEntity
  142. typedef GPB_ENUM(SVGAProtoAudioEntity_FieldNumber) {
  143. SVGAProtoAudioEntity_FieldNumber_AudioKey = 1,
  144. SVGAProtoAudioEntity_FieldNumber_StartFrame = 2,
  145. SVGAProtoAudioEntity_FieldNumber_EndFrame = 3,
  146. SVGAProtoAudioEntity_FieldNumber_StartTime = 4,
  147. SVGAProtoAudioEntity_FieldNumber_TotalTime = 5,
  148. };
  149. @interface SVGAProtoAudioEntity : GPBMessage
  150. /** 音频文件名 */
  151. @property(nonatomic, readwrite, copy, null_resettable) NSString *audioKey;
  152. /** 音频播放起始帧 */
  153. @property(nonatomic, readwrite) int32_t startFrame;
  154. /** 音频播放结束帧 */
  155. @property(nonatomic, readwrite) int32_t endFrame;
  156. /** 音频播放起始时间(相对音频长度) */
  157. @property(nonatomic, readwrite) int32_t startTime;
  158. /** 音频总长度 */
  159. @property(nonatomic, readwrite) int32_t totalTime;
  160. @end
  161. #pragma mark - SVGAProtoLayout
  162. typedef GPB_ENUM(SVGAProtoLayout_FieldNumber) {
  163. SVGAProtoLayout_FieldNumber_X = 1,
  164. SVGAProtoLayout_FieldNumber_Y = 2,
  165. SVGAProtoLayout_FieldNumber_Width = 3,
  166. SVGAProtoLayout_FieldNumber_Height = 4,
  167. };
  168. @interface SVGAProtoLayout : GPBMessage
  169. @property(nonatomic, readwrite) float x;
  170. @property(nonatomic, readwrite) float y;
  171. @property(nonatomic, readwrite) float width;
  172. @property(nonatomic, readwrite) float height;
  173. @end
  174. #pragma mark - SVGAProtoTransform
  175. typedef GPB_ENUM(SVGAProtoTransform_FieldNumber) {
  176. SVGAProtoTransform_FieldNumber_A = 1,
  177. SVGAProtoTransform_FieldNumber_B = 2,
  178. SVGAProtoTransform_FieldNumber_C = 3,
  179. SVGAProtoTransform_FieldNumber_D = 4,
  180. SVGAProtoTransform_FieldNumber_Tx = 5,
  181. SVGAProtoTransform_FieldNumber_Ty = 6,
  182. };
  183. @interface SVGAProtoTransform : GPBMessage
  184. @property(nonatomic, readwrite) float a;
  185. @property(nonatomic, readwrite) float b;
  186. @property(nonatomic, readwrite) float c;
  187. @property(nonatomic, readwrite) float d;
  188. @property(nonatomic, readwrite) float tx;
  189. @property(nonatomic, readwrite) float ty;
  190. @end
  191. #pragma mark - SVGAProtoShapeEntity
  192. typedef GPB_ENUM(SVGAProtoShapeEntity_FieldNumber) {
  193. SVGAProtoShapeEntity_FieldNumber_Type = 1,
  194. SVGAProtoShapeEntity_FieldNumber_Shape = 2,
  195. SVGAProtoShapeEntity_FieldNumber_Rect = 3,
  196. SVGAProtoShapeEntity_FieldNumber_Ellipse = 4,
  197. SVGAProtoShapeEntity_FieldNumber_Styles = 10,
  198. SVGAProtoShapeEntity_FieldNumber_Transform = 11,
  199. };
  200. typedef GPB_ENUM(SVGAProtoShapeEntity_Args_OneOfCase) {
  201. SVGAProtoShapeEntity_Args_OneOfCase_GPBUnsetOneOfCase = 0,
  202. SVGAProtoShapeEntity_Args_OneOfCase_Shape = 2,
  203. SVGAProtoShapeEntity_Args_OneOfCase_Rect = 3,
  204. SVGAProtoShapeEntity_Args_OneOfCase_Ellipse = 4,
  205. };
  206. @interface SVGAProtoShapeEntity : GPBMessage
  207. /** 矢量类型 */
  208. @property(nonatomic, readwrite) SVGAProtoShapeEntity_ShapeType type;
  209. @property(nonatomic, readonly) SVGAProtoShapeEntity_Args_OneOfCase argsOneOfCase;
  210. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoShapeEntity_ShapeArgs *shape;
  211. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoShapeEntity_RectArgs *rect;
  212. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoShapeEntity_EllipseArgs *ellipse;
  213. /** 渲染参数 */
  214. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoShapeEntity_ShapeStyle *styles;
  215. /** Test to see if @c styles has been set. */
  216. @property(nonatomic, readwrite) BOOL hasStyles;
  217. /** 矢量图层 2D 变换矩阵 */
  218. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoTransform *transform;
  219. /** Test to see if @c transform has been set. */
  220. @property(nonatomic, readwrite) BOOL hasTransform;
  221. @end
  222. /**
  223. * Fetches the raw value of a @c SVGAProtoShapeEntity's @c type property, even
  224. * if the value was not defined by the enum at the time the code was generated.
  225. **/
  226. int32_t SVGAProtoShapeEntity_Type_RawValue(SVGAProtoShapeEntity *message);
  227. /**
  228. * Sets the raw value of an @c SVGAProtoShapeEntity's @c type property, allowing
  229. * it to be set to a value that was not defined by the enum at the time the code
  230. * was generated.
  231. **/
  232. void SetSVGAProtoShapeEntity_Type_RawValue(SVGAProtoShapeEntity *message, int32_t value);
  233. /**
  234. * Clears whatever value was set for the oneof 'args'.
  235. **/
  236. void SVGAProtoShapeEntity_ClearArgsOneOfCase(SVGAProtoShapeEntity *message);
  237. #pragma mark - SVGAProtoShapeEntity_ShapeArgs
  238. typedef GPB_ENUM(SVGAProtoShapeEntity_ShapeArgs_FieldNumber) {
  239. SVGAProtoShapeEntity_ShapeArgs_FieldNumber_D = 1,
  240. };
  241. @interface SVGAProtoShapeEntity_ShapeArgs : GPBMessage
  242. /** SVG 路径 */
  243. @property(nonatomic, readwrite, copy, null_resettable) NSString *d;
  244. @end
  245. #pragma mark - SVGAProtoShapeEntity_RectArgs
  246. typedef GPB_ENUM(SVGAProtoShapeEntity_RectArgs_FieldNumber) {
  247. SVGAProtoShapeEntity_RectArgs_FieldNumber_X = 1,
  248. SVGAProtoShapeEntity_RectArgs_FieldNumber_Y = 2,
  249. SVGAProtoShapeEntity_RectArgs_FieldNumber_Width = 3,
  250. SVGAProtoShapeEntity_RectArgs_FieldNumber_Height = 4,
  251. SVGAProtoShapeEntity_RectArgs_FieldNumber_CornerRadius = 5,
  252. };
  253. @interface SVGAProtoShapeEntity_RectArgs : GPBMessage
  254. @property(nonatomic, readwrite) float x;
  255. @property(nonatomic, readwrite) float y;
  256. @property(nonatomic, readwrite) float width;
  257. @property(nonatomic, readwrite) float height;
  258. /** 圆角半径 */
  259. @property(nonatomic, readwrite) float cornerRadius;
  260. @end
  261. #pragma mark - SVGAProtoShapeEntity_EllipseArgs
  262. typedef GPB_ENUM(SVGAProtoShapeEntity_EllipseArgs_FieldNumber) {
  263. SVGAProtoShapeEntity_EllipseArgs_FieldNumber_X = 1,
  264. SVGAProtoShapeEntity_EllipseArgs_FieldNumber_Y = 2,
  265. SVGAProtoShapeEntity_EllipseArgs_FieldNumber_RadiusX = 3,
  266. SVGAProtoShapeEntity_EllipseArgs_FieldNumber_RadiusY = 4,
  267. };
  268. @interface SVGAProtoShapeEntity_EllipseArgs : GPBMessage
  269. /** 圆中心点 X */
  270. @property(nonatomic, readwrite) float x;
  271. /** 圆中心点 Y */
  272. @property(nonatomic, readwrite) float y;
  273. /** 横向半径 */
  274. @property(nonatomic, readwrite) float radiusX;
  275. /** 纵向半径 */
  276. @property(nonatomic, readwrite) float radiusY;
  277. @end
  278. #pragma mark - SVGAProtoShapeEntity_ShapeStyle
  279. typedef GPB_ENUM(SVGAProtoShapeEntity_ShapeStyle_FieldNumber) {
  280. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_Fill = 1,
  281. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_Stroke = 2,
  282. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_StrokeWidth = 3,
  283. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_LineCap = 4,
  284. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_LineJoin = 5,
  285. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_MiterLimit = 6,
  286. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_LineDashI = 7,
  287. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_LineDashIi = 8,
  288. SVGAProtoShapeEntity_ShapeStyle_FieldNumber_LineDashIii = 9,
  289. };
  290. @interface SVGAProtoShapeEntity_ShapeStyle : GPBMessage
  291. /** 填充色 */
  292. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoShapeEntity_ShapeStyle_RGBAColor *fill;
  293. /** Test to see if @c fill has been set. */
  294. @property(nonatomic, readwrite) BOOL hasFill;
  295. /** 描边色 */
  296. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoShapeEntity_ShapeStyle_RGBAColor *stroke;
  297. /** Test to see if @c stroke has been set. */
  298. @property(nonatomic, readwrite) BOOL hasStroke;
  299. /** 描边宽 */
  300. @property(nonatomic, readwrite) float strokeWidth;
  301. /** 线段端点样式 */
  302. @property(nonatomic, readwrite) SVGAProtoShapeEntity_ShapeStyle_LineCap lineCap;
  303. /** 线段连接样式 */
  304. @property(nonatomic, readwrite) SVGAProtoShapeEntity_ShapeStyle_LineJoin lineJoin;
  305. /** 尖角限制 */
  306. @property(nonatomic, readwrite) float miterLimit;
  307. /** 虚线参数 Dash */
  308. @property(nonatomic, readwrite) float lineDashI;
  309. /** 虚线参数 Gap */
  310. @property(nonatomic, readwrite) float lineDashIi;
  311. /** 虚线参数 Offset */
  312. @property(nonatomic, readwrite) float lineDashIii;
  313. @end
  314. /**
  315. * Fetches the raw value of a @c SVGAProtoShapeEntity_ShapeStyle's @c lineCap property, even
  316. * if the value was not defined by the enum at the time the code was generated.
  317. **/
  318. int32_t SVGAProtoShapeEntity_ShapeStyle_LineCap_RawValue(SVGAProtoShapeEntity_ShapeStyle *message);
  319. /**
  320. * Sets the raw value of an @c SVGAProtoShapeEntity_ShapeStyle's @c lineCap property, allowing
  321. * it to be set to a value that was not defined by the enum at the time the code
  322. * was generated.
  323. **/
  324. void SetSVGAProtoShapeEntity_ShapeStyle_LineCap_RawValue(SVGAProtoShapeEntity_ShapeStyle *message, int32_t value);
  325. /**
  326. * Fetches the raw value of a @c SVGAProtoShapeEntity_ShapeStyle's @c lineJoin property, even
  327. * if the value was not defined by the enum at the time the code was generated.
  328. **/
  329. int32_t SVGAProtoShapeEntity_ShapeStyle_LineJoin_RawValue(SVGAProtoShapeEntity_ShapeStyle *message);
  330. /**
  331. * Sets the raw value of an @c SVGAProtoShapeEntity_ShapeStyle's @c lineJoin property, allowing
  332. * it to be set to a value that was not defined by the enum at the time the code
  333. * was generated.
  334. **/
  335. void SetSVGAProtoShapeEntity_ShapeStyle_LineJoin_RawValue(SVGAProtoShapeEntity_ShapeStyle *message, int32_t value);
  336. #pragma mark - SVGAProtoShapeEntity_ShapeStyle_RGBAColor
  337. typedef GPB_ENUM(SVGAProtoShapeEntity_ShapeStyle_RGBAColor_FieldNumber) {
  338. SVGAProtoShapeEntity_ShapeStyle_RGBAColor_FieldNumber_R = 1,
  339. SVGAProtoShapeEntity_ShapeStyle_RGBAColor_FieldNumber_G = 2,
  340. SVGAProtoShapeEntity_ShapeStyle_RGBAColor_FieldNumber_B = 3,
  341. SVGAProtoShapeEntity_ShapeStyle_RGBAColor_FieldNumber_A = 4,
  342. };
  343. @interface SVGAProtoShapeEntity_ShapeStyle_RGBAColor : GPBMessage
  344. @property(nonatomic, readwrite) float r;
  345. @property(nonatomic, readwrite) float g;
  346. @property(nonatomic, readwrite) float b;
  347. @property(nonatomic, readwrite) float a;
  348. @end
  349. #pragma mark - SVGAProtoFrameEntity
  350. typedef GPB_ENUM(SVGAProtoFrameEntity_FieldNumber) {
  351. SVGAProtoFrameEntity_FieldNumber_Alpha = 1,
  352. SVGAProtoFrameEntity_FieldNumber_Layout = 2,
  353. SVGAProtoFrameEntity_FieldNumber_Transform = 3,
  354. SVGAProtoFrameEntity_FieldNumber_ClipPath = 4,
  355. SVGAProtoFrameEntity_FieldNumber_ShapesArray = 5,
  356. };
  357. @interface SVGAProtoFrameEntity : GPBMessage
  358. /** 透明度 */
  359. @property(nonatomic, readwrite) float alpha;
  360. /** 初始约束大小 */
  361. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoLayout *layout;
  362. /** Test to see if @c layout has been set. */
  363. @property(nonatomic, readwrite) BOOL hasLayout;
  364. /** 2D 变换矩阵 */
  365. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoTransform *transform;
  366. /** Test to see if @c transform has been set. */
  367. @property(nonatomic, readwrite) BOOL hasTransform;
  368. /** 遮罩路径,使用 SVG 标准 Path 绘制图案进行 Mask 遮罩。 */
  369. @property(nonatomic, readwrite, copy, null_resettable) NSString *clipPath;
  370. /** 矢量元素列表 */
  371. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<SVGAProtoShapeEntity*> *shapesArray;
  372. /** The number of items in @c shapesArray without causing the array to be created. */
  373. @property(nonatomic, readonly) NSUInteger shapesArray_Count;
  374. @end
  375. #pragma mark - SVGAProtoMovieEntity
  376. typedef GPB_ENUM(SVGAProtoMovieEntity_FieldNumber) {
  377. SVGAProtoMovieEntity_FieldNumber_Version = 1,
  378. SVGAProtoMovieEntity_FieldNumber_Params = 2,
  379. SVGAProtoMovieEntity_FieldNumber_Images = 3,
  380. SVGAProtoMovieEntity_FieldNumber_SpritesArray = 4,
  381. SVGAProtoMovieEntity_FieldNumber_AudiosArray = 5,
  382. };
  383. @interface SVGAProtoMovieEntity : GPBMessage
  384. /** SVGA 格式版本号 */
  385. @property(nonatomic, readwrite, copy, null_resettable) NSString *version;
  386. /** 动画参数 */
  387. @property(nonatomic, readwrite, strong, null_resettable) SVGAProtoMovieParams *params;
  388. /** Test to see if @c params has been set. */
  389. @property(nonatomic, readwrite) BOOL hasParams;
  390. /** Key 是位图键名,Value 是位图文件名或二进制 PNG 数据。 */
  391. @property(nonatomic, readwrite, strong, null_resettable) NSMutableDictionary<NSString*, NSData*> *images;
  392. /** The number of items in @c images without causing the array to be created. */
  393. @property(nonatomic, readonly) NSUInteger images_Count;
  394. /** 元素列表 */
  395. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<SVGAProtoSpriteEntity*> *spritesArray;
  396. /** The number of items in @c spritesArray without causing the array to be created. */
  397. @property(nonatomic, readonly) NSUInteger spritesArray_Count;
  398. /** 音频列表 */
  399. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<SVGAProtoAudioEntity*> *audiosArray;
  400. /** The number of items in @c audiosArray without causing the array to be created. */
  401. @property(nonatomic, readonly) NSUInteger audiosArray_Count;
  402. @end
  403. NS_ASSUME_NONNULL_END
  404. CF_EXTERN_C_END
  405. #pragma clang diagnostic pop
  406. // @@protoc_insertion_point(global_scope)