gStroke.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "type": "object",
  4. "properties": {
  5. "mn": {
  6. "title": "Match Name",
  7. "description": "After Effect's Match Name. Used for expressions.",
  8. "type": "string"
  9. },
  10. "nm": {
  11. "title": "Name",
  12. "description": "After Effect's Name. Used for expressions.",
  13. "type": "string"
  14. },
  15. "ty": {
  16. "title": "Type",
  17. "description": "Shape content type.",
  18. "type": "string",
  19. "const": "gs"
  20. },
  21. "o": {
  22. "title": "Opacity",
  23. "description": "Stroke Opacity",
  24. "oneOf": [
  25. {
  26. "$ref": "#/properties/value"
  27. },
  28. {
  29. "$ref": "#/properties/valueKeyframed"
  30. }
  31. ],
  32. "type": "object"
  33. },
  34. "s": {
  35. "title": "Start Point",
  36. "description": "Gradient Start Point",
  37. "oneOf": [
  38. {
  39. "$ref": "#/properties/multiDimensional"
  40. },
  41. {
  42. "$ref": "#/properties/multiDimensionalKeyframed"
  43. }
  44. ],
  45. "type": "object"
  46. },
  47. "e": {
  48. "title": "End Point",
  49. "description": "Gradient End Point",
  50. "oneOf": [
  51. {
  52. "$ref": "#/properties/multiDimensional"
  53. },
  54. {
  55. "$ref": "#/properties/multiDimensionalKeyframed"
  56. }
  57. ],
  58. "type": "object"
  59. },
  60. "t": {
  61. "title": "Type",
  62. "description": "Gradient Type",
  63. "oneOf": [
  64. {
  65. "standsFor": "Linear",
  66. "value": 1
  67. },
  68. {
  69. "standsFor": "Radial",
  70. "value": 2
  71. }
  72. ],
  73. "type": "object"
  74. },
  75. "h": {
  76. "title": "Highlight Length",
  77. "description": "Gradient Highlight Length. Only if type is Radial",
  78. "oneOf": [
  79. {
  80. "$ref": "#/properties/value"
  81. },
  82. {
  83. "$ref": "#/properties/valueKeyframed"
  84. }
  85. ],
  86. "type": "object"
  87. },
  88. "a": {
  89. "title": "Highlight Angle",
  90. "description": "Highlight Angle. Only if type is Radial",
  91. "oneOf": [
  92. {
  93. "$ref": "#/properties/value"
  94. },
  95. {
  96. "$ref": "#/properties/valueKeyframed"
  97. }
  98. ],
  99. "type": "object"
  100. },
  101. "g": {
  102. "title": "Gradient Colors",
  103. "description": "Gradient Colors",
  104. "type": "object"
  105. },
  106. "w": {
  107. "title": "Stroke Width",
  108. "description": "Gradient Stroke Width",
  109. "oneOf": [
  110. {
  111. "$ref": "#/properties/value"
  112. },
  113. {
  114. "$ref": "#/properties/valueKeyframed"
  115. }
  116. ],
  117. "type": "object"
  118. },
  119. "lc": {
  120. "title": "Line Cap",
  121. "description": "Gradient Stroke Line Cap",
  122. "$ref": "#/helpers/lineCap",
  123. "type": "number"
  124. },
  125. "lj": {
  126. "title": "Line Join",
  127. "description": "Gradient Stroke Line Join",
  128. "$ref": "#/helpers/lineJoin",
  129. "type": "number"
  130. },
  131. "ml": {
  132. "title": "Miter Limit",
  133. "description": "Gradient Stroke Miter Limit. Only if Line Join is set to Miter.",
  134. "type": "number"
  135. }
  136. }
  137. }