@visactor/vrender-core 0.22.7-alpha.8 → 0.22.7-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/cjs/common/canvas-utils.js +5 -2
  2. package/cjs/common/canvas-utils.js.map +1 -1
  3. package/cjs/event/federated-event/base-event.js +1 -1
  4. package/cjs/event/federated-event/base-event.js.map +1 -1
  5. package/cjs/graphic/arc.js +1 -1
  6. package/cjs/graphic/arc.js.map +1 -1
  7. package/cjs/graphic/area.js +1 -1
  8. package/cjs/graphic/area.js.map +1 -1
  9. package/cjs/graphic/circle.js +2 -1
  10. package/cjs/graphic/circle.js.map +1 -1
  11. package/cjs/graphic/config.d.ts +2 -1
  12. package/cjs/graphic/config.js +8 -2
  13. package/cjs/graphic/config.js.map +1 -1
  14. package/cjs/graphic/constants.d.ts +1 -0
  15. package/cjs/graphic/constants.js +4 -3
  16. package/cjs/graphic/constants.js.map +1 -1
  17. package/cjs/graphic/graphic.d.ts +3 -0
  18. package/cjs/graphic/graphic.js +9 -6
  19. package/cjs/graphic/graphic.js.map +1 -1
  20. package/cjs/graphic/image.js +2 -1
  21. package/cjs/graphic/image.js.map +1 -1
  22. package/cjs/graphic/index.d.ts +1 -0
  23. package/cjs/graphic/index.js +8 -8
  24. package/cjs/graphic/index.js.map +1 -1
  25. package/cjs/graphic/line.js +2 -1
  26. package/cjs/graphic/line.js.map +1 -1
  27. package/cjs/graphic/path.js +2 -1
  28. package/cjs/graphic/path.js.map +1 -1
  29. package/cjs/graphic/polygon.js +2 -1
  30. package/cjs/graphic/polygon.js.map +1 -1
  31. package/cjs/graphic/rect.js +2 -1
  32. package/cjs/graphic/rect.js.map +1 -1
  33. package/cjs/graphic/richtext/paragraph.d.ts +3 -0
  34. package/cjs/graphic/richtext/paragraph.js +14 -10
  35. package/cjs/graphic/richtext/paragraph.js.map +1 -1
  36. package/cjs/graphic/richtext/utils.js +12 -2
  37. package/cjs/graphic/richtext/utils.js.map +1 -1
  38. package/cjs/graphic/richtext.d.ts +3 -0
  39. package/cjs/graphic/richtext.js +3 -2
  40. package/cjs/graphic/richtext.js.map +1 -1
  41. package/cjs/graphic/star.d.ts +53 -0
  42. package/cjs/graphic/star.js +76 -0
  43. package/cjs/graphic/star.js.map +1 -0
  44. package/cjs/graphic/symbol.js +2 -1
  45. package/cjs/graphic/symbol.js.map +1 -1
  46. package/cjs/graphic/text.js +1 -0
  47. package/cjs/graphic/text.js.map +1 -1
  48. package/cjs/graphic/theme.js +2 -0
  49. package/cjs/graphic/theme.js.map +1 -1
  50. package/cjs/index.d.ts +2 -0
  51. package/cjs/index.js +7 -6
  52. package/cjs/index.js.map +1 -1
  53. package/cjs/interface/contribution.d.ts +2 -0
  54. package/cjs/interface/contribution.js.map +1 -1
  55. package/cjs/interface/graphic/index.d.ts +1 -0
  56. package/cjs/interface/graphic/index.js +3 -2
  57. package/cjs/interface/graphic/index.js.map +1 -1
  58. package/cjs/interface/graphic/richText.d.ts +3 -0
  59. package/cjs/interface/graphic/richText.js.map +1 -1
  60. package/cjs/interface/graphic/star.d.ts +12 -0
  61. package/cjs/interface/graphic/star.js +6 -0
  62. package/cjs/interface/graphic/star.js.map +1 -0
  63. package/cjs/interface/graphic/theme.d.ts +3 -0
  64. package/cjs/interface/graphic/theme.js.map +1 -1
  65. package/cjs/interface/graphic.d.ts +5 -0
  66. package/cjs/interface/graphic.js.map +1 -1
  67. package/cjs/plugins/builtin-plugin/edit-module.js +11 -8
  68. package/cjs/plugins/builtin-plugin/edit-module.js.map +1 -1
  69. package/cjs/plugins/builtin-plugin/richtext-edit-plugin.js +1 -1
  70. package/cjs/plugins/builtin-plugin/richtext-edit-plugin.js.map +1 -1
  71. package/cjs/register/register-star.d.ts +1 -0
  72. package/cjs/register/register-star.js +14 -0
  73. package/cjs/register/register-star.js.map +1 -0
  74. package/cjs/render/contributions/render/contributions/constants.d.ts +1 -0
  75. package/cjs/render/contributions/render/contributions/constants.js +3 -2
  76. package/cjs/render/contributions/render/contributions/constants.js.map +1 -1
  77. package/cjs/render/contributions/render/contributions/index.d.ts +1 -0
  78. package/cjs/render/contributions/render/contributions/index.js +2 -2
  79. package/cjs/render/contributions/render/contributions/index.js.map +1 -1
  80. package/cjs/render/contributions/render/contributions/star-contribution-render.d.ts +2 -0
  81. package/cjs/render/contributions/render/contributions/star-contribution-render.js +11 -0
  82. package/cjs/render/contributions/render/contributions/star-contribution-render.js.map +1 -0
  83. package/cjs/render/contributions/render/star-module.d.ts +2 -0
  84. package/cjs/render/contributions/render/star-module.js +15 -0
  85. package/cjs/render/contributions/render/star-module.js.map +1 -0
  86. package/cjs/render/contributions/render/star-render.d.ts +10 -0
  87. package/cjs/render/contributions/render/star-render.js +54 -0
  88. package/cjs/render/contributions/render/star-render.js.map +1 -0
  89. package/cjs/render/contributions/render/symbol.d.ts +1 -0
  90. package/cjs/render/contributions/render/symbol.js +2 -2
  91. package/cjs/render/contributions/render/symbol.js.map +1 -1
  92. package/dist/index.es.js +282 -21
  93. package/es/common/canvas-utils.js +5 -2
  94. package/es/common/canvas-utils.js.map +1 -1
  95. package/es/event/federated-event/base-event.js +1 -1
  96. package/es/event/federated-event/base-event.js.map +1 -1
  97. package/es/graphic/arc.js +1 -1
  98. package/es/graphic/arc.js.map +1 -1
  99. package/es/graphic/area.js +1 -1
  100. package/es/graphic/area.js.map +1 -1
  101. package/es/graphic/circle.js +2 -1
  102. package/es/graphic/circle.js.map +1 -1
  103. package/es/graphic/config.d.ts +2 -1
  104. package/es/graphic/config.js +9 -1
  105. package/es/graphic/config.js.map +1 -1
  106. package/es/graphic/constants.d.ts +1 -0
  107. package/es/graphic/constants.js +2 -0
  108. package/es/graphic/constants.js.map +1 -1
  109. package/es/graphic/graphic.d.ts +3 -0
  110. package/es/graphic/graphic.js +9 -6
  111. package/es/graphic/graphic.js.map +1 -1
  112. package/es/graphic/image.js +2 -1
  113. package/es/graphic/image.js.map +1 -1
  114. package/es/graphic/index.d.ts +1 -0
  115. package/es/graphic/index.js +2 -0
  116. package/es/graphic/index.js.map +1 -1
  117. package/es/graphic/line.js +2 -1
  118. package/es/graphic/line.js.map +1 -1
  119. package/es/graphic/path.js +2 -1
  120. package/es/graphic/path.js.map +1 -1
  121. package/es/graphic/polygon.js +2 -1
  122. package/es/graphic/polygon.js.map +1 -1
  123. package/es/graphic/rect.js +2 -1
  124. package/es/graphic/rect.js.map +1 -1
  125. package/es/graphic/richtext/paragraph.d.ts +3 -0
  126. package/es/graphic/richtext/paragraph.js +14 -10
  127. package/es/graphic/richtext/paragraph.js.map +1 -1
  128. package/es/graphic/richtext/utils.js +12 -2
  129. package/es/graphic/richtext/utils.js.map +1 -1
  130. package/es/graphic/richtext.d.ts +3 -0
  131. package/es/graphic/richtext.js +3 -2
  132. package/es/graphic/richtext.js.map +1 -1
  133. package/es/graphic/star.d.ts +53 -0
  134. package/es/graphic/star.js +80 -0
  135. package/es/graphic/star.js.map +1 -0
  136. package/es/graphic/symbol.js +2 -1
  137. package/es/graphic/symbol.js.map +1 -1
  138. package/es/graphic/text.js +1 -0
  139. package/es/graphic/text.js.map +1 -1
  140. package/es/graphic/theme.js +3 -1
  141. package/es/graphic/theme.js.map +1 -1
  142. package/es/index.d.ts +2 -0
  143. package/es/index.js +4 -0
  144. package/es/index.js.map +1 -1
  145. package/es/interface/contribution.d.ts +2 -0
  146. package/es/interface/contribution.js.map +1 -1
  147. package/es/interface/graphic/index.d.ts +1 -0
  148. package/es/interface/graphic/index.js +2 -0
  149. package/es/interface/graphic/index.js.map +1 -1
  150. package/es/interface/graphic/richText.d.ts +3 -0
  151. package/es/interface/graphic/richText.js.map +1 -1
  152. package/es/interface/graphic/star.d.ts +12 -0
  153. package/es/interface/graphic/star.js +2 -0
  154. package/es/interface/graphic/star.js.map +1 -0
  155. package/es/interface/graphic/theme.d.ts +3 -0
  156. package/es/interface/graphic/theme.js.map +1 -1
  157. package/es/interface/graphic.d.ts +5 -0
  158. package/es/interface/graphic.js.map +1 -1
  159. package/es/plugins/builtin-plugin/edit-module.js +11 -8
  160. package/es/plugins/builtin-plugin/edit-module.js.map +1 -1
  161. package/es/plugins/builtin-plugin/richtext-edit-plugin.js +1 -1
  162. package/es/plugins/builtin-plugin/richtext-edit-plugin.js.map +1 -1
  163. package/es/register/register-star.d.ts +1 -0
  164. package/es/register/register-star.js +8 -0
  165. package/es/register/register-star.js.map +1 -0
  166. package/es/render/contributions/render/contributions/constants.d.ts +1 -0
  167. package/es/render/contributions/render/contributions/constants.js +2 -0
  168. package/es/render/contributions/render/contributions/constants.js.map +1 -1
  169. package/es/render/contributions/render/contributions/index.d.ts +1 -0
  170. package/es/render/contributions/render/contributions/index.js +2 -0
  171. package/es/render/contributions/render/contributions/index.js.map +1 -1
  172. package/es/render/contributions/render/contributions/star-contribution-render.d.ts +2 -0
  173. package/es/render/contributions/render/contributions/star-contribution-render.js +8 -0
  174. package/es/render/contributions/render/contributions/star-contribution-render.js.map +1 -0
  175. package/es/render/contributions/render/star-module.d.ts +2 -0
  176. package/es/render/contributions/render/star-module.js +13 -0
  177. package/es/render/contributions/render/star-module.js.map +1 -0
  178. package/es/render/contributions/render/star-render.d.ts +10 -0
  179. package/es/render/contributions/render/star-render.js +59 -0
  180. package/es/render/contributions/render/star-render.js.map +1 -0
  181. package/es/render/contributions/render/symbol.d.ts +1 -0
  182. package/es/render/contributions/render/symbol.js +2 -0
  183. package/es/render/contributions/render/symbol.js.map +1 -1
  184. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -3304,7 +3304,7 @@ const DefaultTextStyle = {
3304
3304
  const DefaultPickStyle = {
3305
3305
  pickStrokeBuffer: 0
3306
3306
  };
3307
- const DefaultStyle = Object.assign(Object.assign(Object.assign(Object.assign({ forceBoundsWidth: undefined, forceBoundsHeight: undefined, opacity: 1, background: null, autoAnimateTexture: false, textureRatio: 1, textureOptions: null, backgroundOpacity: 1, backgroundCornerRadius: 0, texture: null, textureColor: 'black', textureSize: 10, texturePadding: 2, backgroundMode: 'no-repeat', backgroundFit: true, backgroundKeepAspectRatio: false, backgroundClip: true, backgroundScale: 1, backgroundOffsetX: 0, backgroundOffsetY: 0, blur: 0, filter: '', cursor: null, html: null, react: null }, DefaultFillStyle), DefaultStrokeStyle), DefaultLayout), DefaultPickStyle);
3307
+ const DefaultStyle = Object.assign(Object.assign(Object.assign(Object.assign({ forceBoundsWidth: undefined, forceBoundsHeight: undefined, opacity: 1, background: null, autoAnimateTexture: false, textureRatio: 1, textureOptions: null, backgroundOpacity: 1, backgroundCornerRadius: 0, texture: null, textureColor: 'black', textureSize: 10, texturePadding: 2, backgroundMode: 'no-repeat', backgroundFit: true, backgroundKeepAspectRatio: false, backgroundClip: true, backgroundScale: 1, backgroundOffsetX: 0, backgroundOffsetY: 0, blur: 0, filter: '', cursor: null, html: null, react: null, vue: null }, DefaultFillStyle), DefaultStrokeStyle), DefaultLayout), DefaultPickStyle);
3308
3308
  const DefaultConnectAttribute = {
3309
3309
  connectedType: 'none',
3310
3310
  connectedStyle: {},
@@ -3333,6 +3333,7 @@ const DefaultPathAttribute = Object.assign(Object.assign({}, DefaultAttribute),
3333
3333
  Logger.getInstance().warn('空函数');
3334
3334
  } });
3335
3335
  const DefaultPolygonAttribute = Object.assign(Object.assign({}, DefaultAttribute), { points: [], cornerRadius: 0, closePath: true });
3336
+ const DefaultStarAttribute = Object.assign(Object.assign({}, DefaultAttribute), { width: 100, height: 100, spikes: 5, thickness: 0.5 });
3336
3337
  const DefaultRectAttribute = Object.assign(Object.assign({}, DefaultAttribute), { width: 0, height: 0, x1: 0, y1: 0, strokeBoundsBuffer: 0, cornerRadius: 0, cornerType: 'round' });
3337
3338
  const DefaultRect3dAttribute = Object.assign(Object.assign({}, DefaultAttribute), { width: 0, height: 0, x1: 0, y1: 0, cornerRadius: 0, length: 0, cornerType: 'round' });
3338
3339
  const DefaultSymbolAttribute = Object.assign(Object.assign({}, DefaultAttribute), { symbolType: 'circle', size: 10, keepDirIn3d: true, clipRange: 1 });
@@ -3726,6 +3727,7 @@ function getScaledStroke(context, width, dpr) {
3726
3727
  return strokeWidth;
3727
3728
  }
3728
3729
  function createColor(context, c, params, offsetX = 0, offsetY = 0) {
3730
+ var _a, _b;
3729
3731
  if (!c || c === true) {
3730
3732
  return 'black';
3731
3733
  }
@@ -3753,11 +3755,17 @@ function createColor(context, c, params, offsetX = 0, offsetY = 0) {
3753
3755
  let x = bounds.x1 - offsetX;
3754
3756
  let y = bounds.y1 - offsetY;
3755
3757
  if (params.attribute) {
3756
- const { scaleX = 1, scaleY = 1 } = params.attribute;
3758
+ const { scaleX = 1, scaleY = 1, angle = 0 } = params.attribute;
3757
3759
  w /= scaleX;
3758
3760
  h /= scaleY;
3759
3761
  x /= scaleX;
3760
3762
  y /= scaleY;
3763
+ if (angle || scaleX !== 1 || scaleY !== 1) {
3764
+ x = 0;
3765
+ y = 0;
3766
+ w = (_a = params.widthWithoutTransform) !== null && _a !== void 0 ? _a : w;
3767
+ h = (_b = params.heightWithoutTransform) !== null && _b !== void 0 ? _b : h;
3768
+ }
3761
3769
  }
3762
3770
  if (color.gradient === 'linear') {
3763
3771
  result = createLinearGradient(context, color, x, y, w, h);
@@ -3873,6 +3881,9 @@ function applyStrokeStyle(ctx, character) {
3873
3881
  setTextStyle(ctx, character);
3874
3882
  }
3875
3883
  function getStrByWithCanvas(desc, width, character, guessIndex, needTestLetter) {
3884
+ if (desc.length <= 1) {
3885
+ return 0;
3886
+ }
3876
3887
  if (!width || width <= 0) {
3877
3888
  return 0;
3878
3889
  }
@@ -3953,6 +3964,15 @@ function testLetter2(string, index) {
3953
3964
  return i + 1;
3954
3965
  }
3955
3966
  function measureTextCanvas(text, character, mode = 'actual') {
3967
+ var _a;
3968
+ if (text === '') {
3969
+ return {
3970
+ ascent: 0,
3971
+ height: 0,
3972
+ descent: 0,
3973
+ width: 0
3974
+ };
3975
+ }
3956
3976
  const textMeasure = application.graphicUtil.textMeasure;
3957
3977
  const measurement = textMeasure.measureText(text, character);
3958
3978
  const result = {
@@ -3975,6 +3995,8 @@ function measureTextCanvas(text, character, mode = 'actual') {
3975
3995
  result.ascent = Math.floor(ascent);
3976
3996
  result.descent = result.height - result.ascent;
3977
3997
  }
3998
+ const space = (_a = character.space) !== null && _a !== void 0 ? _a : 0;
3999
+ result.width += space;
3978
4000
  return result;
3979
4001
  }
3980
4002
 
@@ -5565,6 +5587,7 @@ const defaultThemeObj = {
5565
5587
  text: DefaultTextAttribute,
5566
5588
  rect: DefaultRectAttribute,
5567
5589
  polygon: DefaultPolygonAttribute,
5590
+ star: DefaultStarAttribute,
5568
5591
  richtext: DefaultRichTextAttribute,
5569
5592
  richtextIcon: DefaultRichTextIconAttribute,
5570
5593
  image: DefaultImageAttribute,
@@ -5583,6 +5606,7 @@ function newThemeObj() {
5583
5606
  text: Object.assign({}, defaultThemeObj.text),
5584
5607
  rect: Object.assign({}, defaultThemeObj.rect),
5585
5608
  polygon: Object.assign({}, defaultThemeObj.polygon),
5609
+ star: Object.assign({}, defaultThemeObj.star),
5586
5610
  richtext: Object.assign({}, defaultThemeObj.richtext),
5587
5611
  richtextIcon: Object.assign({}, defaultThemeObj.richtextIcon),
5588
5612
  image: Object.assign({}, defaultThemeObj.image),
@@ -6397,7 +6421,7 @@ class FederatedEvent {
6397
6421
  }
6398
6422
  _composedDetailPath(params) {
6399
6423
  if (params && params.graphic) {
6400
- const g = this.pickParams.graphic;
6424
+ const g = params.graphic;
6401
6425
  if (g.stage) {
6402
6426
  const path = g.stage.eventSystem.manager.propagationPath(g);
6403
6427
  this.detailPath.push(path);
@@ -13151,6 +13175,7 @@ const PYRAMID3D_NUMBER_TYPE = genNumberType();
13151
13175
  const RECT_NUMBER_TYPE = genNumberType();
13152
13176
  const RECT3D_NUMBER_TYPE = genNumberType();
13153
13177
  const RICHTEXT_NUMBER_TYPE = genNumberType();
13178
+ const STAR_NUMBER_TYPE = genNumberType();
13154
13179
  const SYMBOL_NUMBER_TYPE = genNumberType();
13155
13180
  const TEXT_NUMBER_TYPE = genNumberType();
13156
13181
  const GraphicService = Symbol.for('GraphicService');
@@ -13529,6 +13554,10 @@ class Graphic extends Node {
13529
13554
  }
13530
13555
  return picker.containsPoint(this, { x, y });
13531
13556
  }
13557
+ setWidthHeightWithoutTransform(aabbBounds) {
13558
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
13559
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
13560
+ }
13532
13561
  setAttributes(params, forceUpdateTag = false, context) {
13533
13562
  params =
13534
13563
  (this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context)) || params;
@@ -14036,12 +14065,12 @@ class Graphic extends Node {
14036
14065
  if (params.b) {
14037
14066
  return params.b;
14038
14067
  }
14039
- const { scaleX, scaleY, angle } = this.attribute;
14068
+ const { scaleX, scaleY, angle, scaleCenter } = this.attribute;
14040
14069
  tempBounds.copy(this._AABBBounds);
14041
- this.setAttributes({ scaleX: 1, scaleY: 1, angle: 0 });
14070
+ this.setAttributes({ angle: 0, scaleCenter: null });
14042
14071
  params.b = this.AABBBounds.clone();
14043
14072
  this._AABBBounds.copy(tempBounds);
14044
- this.setAttributes({ scaleX, scaleY, angle });
14073
+ this.setAttributes({ scaleX, scaleY, angle, scaleCenter });
14045
14074
  return params.b;
14046
14075
  };
14047
14076
  if (typeof anchor[0] === 'string') {
@@ -14066,7 +14095,7 @@ class Graphic extends Node {
14066
14095
  const { x = DefaultTransform.x, y = DefaultTransform.y, scaleX = DefaultTransform.scaleX, scaleY = DefaultTransform.scaleY, angle = DefaultTransform.angle, scaleCenter, anchor, postMatrix } = this.attribute;
14067
14096
  let _anchor = [0, 0];
14068
14097
  const params = {};
14069
- if (anchor) {
14098
+ if (anchor && angle) {
14070
14099
  _anchor = this.getAnchor(anchor, params);
14071
14100
  }
14072
14101
  if (scaleCenter && (scaleX !== 1 || scaleY !== 1)) {
@@ -15438,6 +15467,7 @@ const PolygonRenderContribution = Symbol.for('PolygonRenderContribution');
15438
15467
  const RectRenderContribution = Symbol.for('RectRenderContribution');
15439
15468
  const SymbolRenderContribution = Symbol.for('SymbolRenderContribution');
15440
15469
  const TextRenderContribution = Symbol.for('TextRenderContribution');
15470
+ const StarRenderContribution = Symbol.for('StarRenderContribution');
15441
15471
  const CommonRenderContribution = Symbol.for('CommonRenderContribution');
15442
15472
  const InteractiveSubRenderContribution = Symbol.for('InteractiveSubRenderContribution');
15443
15473
 
@@ -16325,6 +16355,8 @@ class Circle extends Graphic {
16325
16355
  updateBoundsOfCommonOuterBorder(attribute, circleTheme, tb1);
16326
16356
  aabbBounds.union(tb1);
16327
16357
  tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
16358
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
16359
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
16328
16360
  application.graphicService.transformAABBBounds(attribute, aabbBounds, circleTheme, false, this);
16329
16361
  return aabbBounds;
16330
16362
  }
@@ -16657,6 +16689,8 @@ class Text extends Graphic {
16657
16689
  if (attribute.forceBoundsHeight != null || attribute.forceBoundsWidth != null) {
16658
16690
  application.graphicService.updateHTMLTextAABBBounds(attribute, textTheme, aabbBounds);
16659
16691
  }
16692
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
16693
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
16660
16694
  transformBoundsWithMatrix(aabbBounds, aabbBounds, this.transMatrix);
16661
16695
  return aabbBounds;
16662
16696
  }
@@ -17186,6 +17220,8 @@ let Symbol$1 = class Symbol extends Graphic {
17186
17220
  updateBoundsOfSymbolOuterBorder(attribute, symbolTheme, tb1);
17187
17221
  aabbBounds.union(tb1);
17188
17222
  tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
17223
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
17224
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
17189
17225
  const { lineJoin = symbolTheme.lineJoin } = attribute;
17190
17226
  application.graphicService.transformAABBBounds(attribute, aabbBounds, symbolTheme, lineJoin === 'miter', this);
17191
17227
  return aabbBounds;
@@ -17279,6 +17315,8 @@ let Line$1 = class Line extends Graphic {
17279
17315
  : this.updateLineAABBBoundsByPoints(attribute, lineTheme, aabbBounds);
17280
17316
  }
17281
17317
  application.graphicService.updateTempAABBBounds(aabbBounds);
17318
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
17319
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
17282
17320
  const { lineJoin = lineTheme.lineJoin } = attribute;
17283
17321
  application.graphicService.transformAABBBounds(attribute, aabbBounds, lineTheme, lineJoin === 'miter', this);
17284
17322
  return aabbBounds;
@@ -17384,6 +17422,8 @@ class Rect extends Graphic {
17384
17422
  updateBoundsOfCommonOuterBorder(attribute, rectTheme, tb1);
17385
17423
  aabbBounds.union(tb1);
17386
17424
  tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
17425
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
17426
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
17387
17427
  application.graphicService.transformAABBBounds(attribute, aabbBounds, rectTheme, false, this);
17388
17428
  return aabbBounds;
17389
17429
  }
@@ -17946,6 +17986,7 @@ function getFixedLRTB(left, right, top, bottom) {
17946
17986
  }
17947
17987
  class Paragraph {
17948
17988
  constructor(text, newLine, character, ascentDescentMode) {
17989
+ var _a, _b;
17949
17990
  this.fontSize = character.fontSize || 16;
17950
17991
  this.textBaseline = character.textBaseline || 'alphabetic';
17951
17992
  this.ascentDescentMode = ascentDescentMode;
@@ -17992,6 +18033,9 @@ class Paragraph {
17992
18033
  this.ellipsis = 'normal';
17993
18034
  this.ellipsisWidth = 0;
17994
18035
  this.ellipsisOtherParagraphWidth = 0;
18036
+ this.space = character.space;
18037
+ this.dx = (_a = character.dx) !== null && _a !== void 0 ? _a : 0;
18038
+ this.dy = (_b = character.dy) !== null && _b !== void 0 ? _b : 0;
17995
18039
  if (character.direction === 'vertical') {
17996
18040
  this.direction = character.direction;
17997
18041
  this.widthOrigin = this.width;
@@ -18042,9 +18086,9 @@ class Paragraph {
18042
18086
  text = text.slice(0, index);
18043
18087
  text += this.ellipsisStr;
18044
18088
  if (textAlign === 'right' || textAlign === 'end') {
18045
- const { width } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
18046
18089
  if (direction === 'vertical') ;
18047
18090
  else {
18091
+ const { width } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
18048
18092
  left -= this.ellipsisWidth - width;
18049
18093
  }
18050
18094
  }
@@ -18055,9 +18099,10 @@ class Paragraph {
18055
18099
  return Object.assign(Object.assign({}, lrtb), { fillStyle: this.character.background, globalAlpha: this.character.backgroundOpacity });
18056
18100
  }
18057
18101
  draw(ctx, top, ascent, deltaLeft, isLineFirst, textAlign, lineHeight) {
18102
+ var _a;
18058
18103
  let baseline = top + ascent;
18059
18104
  let text = this.text;
18060
- let left = this.left + deltaLeft;
18105
+ let left = this.left + deltaLeft + ((_a = this.space) !== null && _a !== void 0 ? _a : 0) / 2;
18061
18106
  baseline += this.top;
18062
18107
  let direction = this.direction;
18063
18108
  if (this.verticalEllipsis) {
@@ -18079,9 +18124,9 @@ class Paragraph {
18079
18124
  text = text.slice(0, index);
18080
18125
  text += this.ellipsisStr;
18081
18126
  if (textAlign === 'right' || textAlign === 'end') {
18082
- const { width } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
18083
18127
  if (direction === 'vertical') ;
18084
18128
  else {
18129
+ const { width } = measureTextCanvas(this.text.slice(index), this.character, this.ascentDescentMode);
18085
18130
  left -= this.ellipsisWidth - width;
18086
18131
  }
18087
18132
  }
@@ -18104,10 +18149,10 @@ class Paragraph {
18104
18149
  }
18105
18150
  const { lineWidth = 1 } = this.character;
18106
18151
  if (this.character.stroke && lineWidth) {
18107
- ctx.strokeText(text, left, baseline);
18152
+ ctx.strokeText(text, left, baseline + this.dy);
18108
18153
  }
18109
18154
  if (this.character.fill) {
18110
- ctx.fillText(text, left, baseline);
18155
+ ctx.fillText(text, left, baseline + this.dy);
18111
18156
  }
18112
18157
  if (this.character.fill) {
18113
18158
  if (this.character.lineThrough || this.character.underline) {
@@ -18297,6 +18342,8 @@ class Image extends Graphic {
18297
18342
  updateBoundsOfCommonOuterBorder(attribute, imageTheme, tb1);
18298
18343
  aabbBounds.union(tb1);
18299
18344
  tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
18345
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
18346
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
18300
18347
  application.graphicService.transformAABBBounds(attribute, aabbBounds, imageTheme, false, this);
18301
18348
  return aabbBounds;
18302
18349
  }
@@ -18922,7 +18969,7 @@ class RichText extends Graphic {
18922
18969
  }
18923
18970
  updateAABBBounds(attribute, richtextTheme, aabbBounds) {
18924
18971
  var _a, _b, _c, _d;
18925
- const { width = richtextTheme.width, height = richtextTheme.height, maxWidth = richtextTheme.maxWidth, maxHeight = richtextTheme.maxHeight, textAlign = richtextTheme.textAlign, verticalDirection = (_b = (_a = attribute.textBaseline) !== null && _a !== void 0 ? _a : richtextTheme.textBaseline) !== null && _b !== void 0 ? _b : richtextTheme.verticalDirection, editOptions } = attribute;
18972
+ const { width = richtextTheme.width, height = richtextTheme.height, maxWidth = richtextTheme.maxWidth, maxHeight = richtextTheme.maxHeight, textAlign = richtextTheme.textAlign, textBaseline = (_b = (_a = attribute.textBaseline) !== null && _a !== void 0 ? _a : richtextTheme.textBaseline) !== null && _b !== void 0 ? _b : 'top', editOptions } = attribute;
18926
18973
  if (width > 0 && height > 0) {
18927
18974
  aabbBounds.set(0, 0, width, height);
18928
18975
  }
@@ -18940,7 +18987,7 @@ class RichText extends Graphic {
18940
18987
  aabbBounds.x2 = aabbBounds.x1 + 2;
18941
18988
  }
18942
18989
  let deltaY = 0;
18943
- switch (verticalDirection) {
18990
+ switch (textBaseline) {
18944
18991
  case 'top':
18945
18992
  deltaY = 0;
18946
18993
  break;
@@ -18968,6 +19015,8 @@ class RichText extends Graphic {
18968
19015
  if (attribute.forceBoundsHeight != null || attribute.forceBoundsWidth != null) {
18969
19016
  application.graphicService.updateHTMLTextAABBBounds(attribute, richtextTheme, aabbBounds);
18970
19017
  }
19018
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
19019
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
18971
19020
  application.graphicService.transformAABBBounds(attribute, aabbBounds, richtextTheme, false, this);
18972
19021
  if (aabbBounds.width() === 0 && aabbBounds.height() === 0) {
18973
19022
  aabbBounds.clear();
@@ -19267,6 +19316,8 @@ class Path extends Graphic {
19267
19316
  updateBoundsOfCommonOuterBorder(attribute, pathTheme, tb1);
19268
19317
  aabbBounds.union(tb1);
19269
19318
  tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
19319
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
19320
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
19270
19321
  const { lineJoin = pathTheme.lineJoin } = attribute;
19271
19322
  application.graphicService.transformAABBBounds(attribute, aabbBounds, pathTheme, lineJoin === 'miter', this);
19272
19323
  return aabbBounds;
@@ -19347,6 +19398,7 @@ class Area extends Graphic {
19347
19398
  : this.updateAreaAABBBoundsByPoints(attribute, areaTheme, aabbBounds);
19348
19399
  }
19349
19400
  application.graphicService.updateTempAABBBounds(aabbBounds);
19401
+ this.setWidthHeightWithoutTransform(aabbBounds);
19350
19402
  const { lineJoin = areaTheme.lineJoin } = attribute;
19351
19403
  application.graphicService.transformAABBBounds(attribute, aabbBounds, areaTheme, lineJoin === 'miter', this);
19352
19404
  return aabbBounds;
@@ -19596,6 +19648,7 @@ class Arc extends Graphic {
19596
19648
  updateBoundsOfCommonOuterBorder(attribute, arcTheme, tb1);
19597
19649
  aabbBounds.union(tb1);
19598
19650
  tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
19651
+ this.setWidthHeightWithoutTransform(aabbBounds);
19599
19652
  const { lineJoin = arcTheme.lineJoin } = attribute;
19600
19653
  application.graphicService.transformAABBBounds(attribute, aabbBounds, arcTheme, lineJoin === 'miter', this);
19601
19654
  return aabbBounds;
@@ -19697,6 +19750,108 @@ function createArc(attributes) {
19697
19750
  return new Arc(attributes);
19698
19751
  }
19699
19752
 
19753
+ const STAR_UPDATE_TAG_KEY = ['width', 'height', 'spikes', 'thickness', ...GRAPHIC_UPDATE_TAG_KEY];
19754
+ class Star extends Graphic {
19755
+ constructor(params) {
19756
+ super(params);
19757
+ this.type = 'star';
19758
+ this._cachedPoints = [];
19759
+ this.numberType = STAR_NUMBER_TYPE;
19760
+ }
19761
+ isValid() {
19762
+ return super.isValid() && this._isValid();
19763
+ }
19764
+ _isValid() {
19765
+ const { width, height, spikes } = this.attribute;
19766
+ return ((width == null || width > 0) &&
19767
+ (height == null || height > 0) &&
19768
+ (spikes == null || (spikes >= 3 && Number.isInteger(spikes))));
19769
+ }
19770
+ getGraphicTheme() {
19771
+ return getTheme(this).star;
19772
+ }
19773
+ updateAABBBounds(attribute, rectTheme, aabbBounds) {
19774
+ if (!this.updatePathProxyAABBBounds(aabbBounds)) {
19775
+ const { width = 0, height = 0 } = attribute;
19776
+ if (isFinite(width) || isFinite(height)) {
19777
+ aabbBounds.set(0, 0, width, height);
19778
+ }
19779
+ }
19780
+ const { tb1, tb2 } = application.graphicService.updateTempAABBBounds(aabbBounds);
19781
+ aabbBounds.union(tb1);
19782
+ tb1.setValue(tb2.x1, tb2.y1, tb2.x2, tb2.y2);
19783
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
19784
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
19785
+ application.graphicService.transformAABBBounds(attribute, aabbBounds, rectTheme, false, this);
19786
+ return aabbBounds;
19787
+ }
19788
+ getCachedPoints() {
19789
+ if (this.shouldUpdateShape()) {
19790
+ this._cachedPoints = this.getStarPoints(this.attribute, this.getGraphicTheme());
19791
+ this.clearUpdateShapeTag();
19792
+ }
19793
+ return this._cachedPoints;
19794
+ }
19795
+ getStarPoints(attribute, starTheme) {
19796
+ const { width = starTheme.width, height = starTheme.height, spikes = starTheme.spikes, thickness = starTheme.thickness } = attribute;
19797
+ const validSpikes = Math.max(3, Math.floor(spikes));
19798
+ const validThickness = Math.max(0, Math.min(1, thickness));
19799
+ const points = [];
19800
+ const outerRadius = Math.min(width, height) / 2;
19801
+ const innerRadius = outerRadius * (1 - validThickness);
19802
+ const centerX = width / 2;
19803
+ const centerY = height / 2;
19804
+ for (let i = 0; i < validSpikes * 2; i++) {
19805
+ const radius = i % 2 === 0 ? outerRadius : innerRadius;
19806
+ const angle = (Math.PI / validSpikes) * i;
19807
+ const scaleX = width / (outerRadius * 2);
19808
+ const scaleY = height / (outerRadius * 2);
19809
+ points.push({
19810
+ x: centerX + Math.sin(angle) * radius * scaleX,
19811
+ y: centerY - Math.cos(angle) * radius * scaleY
19812
+ });
19813
+ }
19814
+ this._cachedPoints = points;
19815
+ return points;
19816
+ }
19817
+ _interpolate(key, ratio, lastStepVal, nextStepVal, nextAttributes) {
19818
+ if (key === 'width' || key === 'height' || key === 'spikes' || key === 'thickness') {
19819
+ nextAttributes[key] = lastStepVal + (nextStepVal - lastStepVal) * ratio;
19820
+ }
19821
+ }
19822
+ needUpdateTags(keys) {
19823
+ return super.needUpdateTags(keys, STAR_UPDATE_TAG_KEY);
19824
+ }
19825
+ needUpdateTag(key) {
19826
+ return super.needUpdateTag(key, STAR_UPDATE_TAG_KEY);
19827
+ }
19828
+ toCustomPath() {
19829
+ const starTheme = this.getGraphicTheme();
19830
+ const points = this.getStarPoints(this.attribute, starTheme);
19831
+ const path = new CustomPath2D();
19832
+ points.forEach((point, index) => {
19833
+ if (index === 0) {
19834
+ path.moveTo(point.x, point.y);
19835
+ }
19836
+ else {
19837
+ path.lineTo(point.x, point.y);
19838
+ }
19839
+ });
19840
+ path.closePath();
19841
+ return path;
19842
+ }
19843
+ clone() {
19844
+ return new Star(Object.assign({}, this.attribute));
19845
+ }
19846
+ getNoWorkAnimateAttr() {
19847
+ return Star.NOWORK_ANIMATE_ATTR;
19848
+ }
19849
+ }
19850
+ Star.NOWORK_ANIMATE_ATTR = NOWORK_ANIMATE_ATTR;
19851
+ function createStar(attributes) {
19852
+ return new Star(attributes);
19853
+ }
19854
+
19700
19855
  class Arc3d extends Arc {
19701
19856
  constructor(params) {
19702
19857
  super(params);
@@ -19746,6 +19901,8 @@ class Polygon extends Graphic {
19746
19901
  this.updatePolygonAABBBoundsImprecise(attribute, polygonTheme, aabbBounds);
19747
19902
  }
19748
19903
  application.graphicService.updateTempAABBBounds(aabbBounds);
19904
+ this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1;
19905
+ this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
19749
19906
  const { lineJoin = polygonTheme.lineJoin } = attribute;
19750
19907
  application.graphicService.transformAABBBounds(attribute, aabbBounds, polygonTheme, lineJoin === 'miter', this);
19751
19908
  return aabbBounds;
@@ -20962,6 +21119,9 @@ const defaultSymbolClipRangeStrokeRenderContribution = new DefaultSymbolClipRang
20962
21119
  const defaultSymbolTextureRenderContribution = defaultBaseTextureRenderContribution;
20963
21120
  const defaultSymbolBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
20964
21121
 
21122
+ const defaultStarTextureRenderContribution = defaultBaseTextureRenderContribution;
21123
+ const defaultStarBackgroundRenderContribution = defaultBaseBackgroundRenderContribution;
21124
+
20965
21125
  class DefaultAreaTextureRenderContribution extends DefaultBaseTextureRenderContribution {
20966
21126
  constructor() {
20967
21127
  super(...arguments);
@@ -23507,6 +23667,7 @@ const GlyphRender = Symbol.for('GlyphRender');
23507
23667
  const ImageRender = Symbol.for('ImageRender');
23508
23668
  const RenderSelector = Symbol.for('RenderSelector');
23509
23669
  const DrawContribution = Symbol.for('DrawContribution');
23670
+ const StarRender = Symbol.for('StarRender');
23510
23671
 
23511
23672
  const draw3dItem = (context, graphic, callback, output) => {
23512
23673
  let isPie = false;
@@ -27163,12 +27324,13 @@ function getDefaultCharacterConfig(attribute) {
27163
27324
  };
27164
27325
  }
27165
27326
  function findConfigIndexByCursorIdx(textConfig, cursorIndex) {
27327
+ var _a;
27166
27328
  if (cursorIndex < 0) {
27167
27329
  return 0;
27168
27330
  }
27169
27331
  const intCursorIndex = Math.round(cursorIndex);
27170
27332
  let tempCursorIndex = intCursorIndex;
27171
- let lineBreak = false;
27333
+ let lineBreak = ((_a = textConfig === null || textConfig === void 0 ? void 0 : textConfig[0]) === null || _a === void 0 ? void 0 : _a.text) === '\n';
27172
27334
  let configIdx = 0;
27173
27335
  for (configIdx = 0; configIdx < textConfig.length && tempCursorIndex >= 0; configIdx++) {
27174
27336
  const c = textConfig[configIdx];
@@ -27191,12 +27353,12 @@ function findConfigIndexByCursorIdx(textConfig, cursorIndex) {
27191
27353
  return configIdx;
27192
27354
  }
27193
27355
  function findCursorIdxByConfigIndex(textConfig, configIndex) {
27194
- var _a, _b, _c;
27356
+ var _a, _b, _c, _d;
27195
27357
  let cursorIndex = 0;
27196
27358
  if (configIndex < 0) {
27197
27359
  return -0.1;
27198
27360
  }
27199
- let lastLineBreak = false;
27361
+ let lastLineBreak = ((_a = textConfig === null || textConfig === void 0 ? void 0 : textConfig[0]) === null || _a === void 0 ? void 0 : _a.text) === '\n';
27200
27362
  for (let i = 0; i <= configIndex && i < textConfig.length; i++) {
27201
27363
  const c = textConfig[i];
27202
27364
  if (c.text === '\n') {
@@ -27210,16 +27372,16 @@ function findCursorIdxByConfigIndex(textConfig, configIndex) {
27210
27372
  }
27211
27373
  cursorIndex = Math.max(cursorIndex - 1, 0);
27212
27374
  if (configIndex > textConfig.length - 1) {
27213
- if (((_a = textConfig[textConfig.length - 1]) === null || _a === void 0 ? void 0 : _a.text) === '\n') {
27375
+ if (((_b = textConfig[textConfig.length - 1]) === null || _b === void 0 ? void 0 : _b.text) === '\n') {
27214
27376
  return cursorIndex + 0.9;
27215
27377
  }
27216
27378
  return cursorIndex + 0.1;
27217
27379
  }
27218
- const lineBreak = ((_b = textConfig[configIndex]) === null || _b === void 0 ? void 0 : _b.text) === '\n';
27380
+ const lineBreak = ((_c = textConfig[configIndex]) === null || _c === void 0 ? void 0 : _c.text) === '\n';
27219
27381
  if (configIndex >= textConfig.length - 1 && lineBreak) {
27220
27382
  return cursorIndex + 1 - 0.1;
27221
27383
  }
27222
- const singleLineBreak = lineBreak && ((_c = textConfig[configIndex - 1]) === null || _c === void 0 ? void 0 : _c.text) !== '\n';
27384
+ const singleLineBreak = lineBreak && ((_d = textConfig[configIndex - 1]) === null || _d === void 0 ? void 0 : _d.text) !== '\n';
27223
27385
  cursorIndex -= 0.1;
27224
27386
  if (singleLineBreak) {
27225
27387
  cursorIndex += 0.2;
@@ -27233,11 +27395,17 @@ class EditModule {
27233
27395
  this.handleFocusOut = () => {
27234
27396
  };
27235
27397
  this.handleKeyDown = (e) => {
27398
+ if (!this.currRt) {
27399
+ return;
27400
+ }
27236
27401
  if (e.key === 'Delete' || e.key === 'Backspace') {
27237
27402
  this.handleInput({ data: null, type: 'Backspace' });
27238
27403
  }
27239
27404
  };
27240
27405
  this.handleCompositionStart = () => {
27406
+ if (!this.currRt) {
27407
+ return;
27408
+ }
27241
27409
  this.isComposing = true;
27242
27410
  const { textConfig = [] } = this.currRt.attribute;
27243
27411
  this.composingConfigIdx = this.cursorIndex < 0 ? 0 : findConfigIndexByCursorIdx(textConfig, this.cursorIndex);
@@ -27373,6 +27541,9 @@ class EditModule {
27373
27541
  }
27374
27542
  parseCompositionStr(configIdx) {
27375
27543
  var _a;
27544
+ if (!this.currRt) {
27545
+ return '';
27546
+ }
27376
27547
  const { textConfig = [] } = this.currRt.attribute;
27377
27548
  const lastConfig = (_a = textConfig[configIdx]) !== null && _a !== void 0 ? _a : {};
27378
27549
  textConfig.splice(configIdx, 1);
@@ -28056,6 +28227,7 @@ class RichTextEditPlugin {
28056
28227
  currRt.detachShadow();
28057
28228
  }
28058
28229
  this.currRt = null;
28230
+ this.editModule.currRt = null;
28059
28231
  const shadowRoot = this.getShadow(currRt);
28060
28232
  if (this.editLine) {
28061
28233
  this.removeEditLineOrBgOrBounds(this.editLine, shadowRoot);
@@ -28779,6 +28951,91 @@ const polygonModule = new ContainerModule(bind => {
28779
28951
  bindContributionProvider(bind, PolygonRenderContribution);
28780
28952
  });
28781
28953
 
28954
+ let DefaultCanvasStarRender = class DefaultCanvasStarRender extends BaseRender {
28955
+ constructor(starRenderContribitions) {
28956
+ super();
28957
+ this.starRenderContribitions = starRenderContribitions;
28958
+ this.numberType = STAR_NUMBER_TYPE;
28959
+ this.builtinContributions = [defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution];
28960
+ this.init(starRenderContribitions);
28961
+ }
28962
+ drawShape(star, context, x, y, drawContext, params, fillCb, strokeCb) {
28963
+ const starAttribute = getTheme(star, params === null || params === void 0 ? void 0 : params.theme).star;
28964
+ const { x: originX = starAttribute.x, y: originY = starAttribute.y, fillStrokeOrder = starAttribute.fillStrokeOrder } = star.attribute;
28965
+ const data = this.valid(star, starAttribute, fillCb, strokeCb);
28966
+ if (!data) {
28967
+ return;
28968
+ }
28969
+ const { fVisible, sVisible, doFill, doStroke } = data;
28970
+ const points = star.getCachedPoints();
28971
+ context.beginPath();
28972
+ if (points && points.length) {
28973
+ points.forEach((point, index) => {
28974
+ if (index === 0) {
28975
+ context.moveTo(x + point.x, y + point.y);
28976
+ }
28977
+ else {
28978
+ context.lineTo(x + point.x, y + point.y);
28979
+ }
28980
+ });
28981
+ }
28982
+ context.closePath();
28983
+ context.setShadowBlendStyle && context.setShadowBlendStyle(star, star.attribute, starAttribute);
28984
+ this.beforeRenderStep(star, context, x, y, doFill, doStroke, fVisible, sVisible, starAttribute, drawContext, fillCb, strokeCb);
28985
+ const _runFill = () => {
28986
+ if (doFill) {
28987
+ if (fillCb) {
28988
+ fillCb(context, star.attribute, starAttribute);
28989
+ }
28990
+ else if (fVisible) {
28991
+ context.setCommonStyle(star, star.attribute, originX - x, originY - y, starAttribute);
28992
+ context.fill();
28993
+ }
28994
+ }
28995
+ };
28996
+ const _runStroke = () => {
28997
+ if (doStroke) {
28998
+ if (strokeCb) {
28999
+ strokeCb(context, star.attribute, starAttribute);
29000
+ }
29001
+ else if (sVisible) {
29002
+ context.setStrokeStyle(star, star.attribute, originX - x, originY - y, starAttribute);
29003
+ context.stroke();
29004
+ }
29005
+ }
29006
+ };
29007
+ if (!fillStrokeOrder) {
29008
+ _runFill();
29009
+ _runStroke();
29010
+ }
29011
+ else {
29012
+ _runStroke();
29013
+ _runFill();
29014
+ }
29015
+ this.afterRenderStep(star, context, x, y, doFill, doStroke, fVisible, sVisible, starAttribute, drawContext, fillCb, strokeCb);
29016
+ }
29017
+ draw(star, renderService, drawContext, params) {
29018
+ const starAttribute = getTheme(star, params === null || params === void 0 ? void 0 : params.theme).star;
29019
+ this._draw(star, starAttribute, false, drawContext, params);
29020
+ }
29021
+ };
29022
+ DefaultCanvasStarRender = __decorate([
29023
+ injectable(),
29024
+ __param(0, inject(ContributionProvider)),
29025
+ __param(0, named(StarRenderContribution)),
29026
+ __metadata("design:paramtypes", [Object])
29027
+ ], DefaultCanvasStarRender);
29028
+
29029
+ let loadStarModule = false;
29030
+ const starModule = new ContainerModule(bind => {
29031
+ if (loadStarModule) {
29032
+ return;
29033
+ }
29034
+ loadStarModule = true;
29035
+ bind(StarRender).to(DefaultCanvasStarRender).inSingletonScope();
29036
+ bind(GraphicRender).toService(StarRender);
29037
+ });
29038
+
28782
29039
  let DefaultCanvasGlyphRender = class DefaultCanvasGlyphRender {
28783
29040
  constructor() {
28784
29041
  this.numberType = GLYPH_NUMBER_TYPE;
@@ -29361,6 +29618,10 @@ function registerPolygonGraphic() {
29361
29618
  graphicCreator.RegisterGraphicCreator('polygon', createPolygon);
29362
29619
  }
29363
29620
 
29621
+ function registerStarGraphic() {
29622
+ graphicCreator.RegisterGraphicCreator('star', createStar);
29623
+ }
29624
+
29364
29625
  function registerPyramid3dGraphic() {
29365
29626
  graphicCreator.RegisterGraphicCreator('pyramid3d', createPyramid3d);
29366
29627
  }
@@ -30243,4 +30504,4 @@ function generatorPathEasingFunc(path) {
30243
30504
  };
30244
30505
  }
30245
30506
 
30246
- export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasFactory, CanvasTextLayout, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_TEXT_FONT_FAMILY, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseClipRenderAfterContribution, DefaultBaseClipRenderBeforeContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DirectionalLight, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, ManualTickHandler, ManualTicker, Mat4Allocate, MatrixAllocate, MeasureModeEnum, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, UpdateTag, VGlobal, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, application, applyTransformOnBezierCurves, arc3dModule, arcModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, centroidOfSubpath, circleBounds, circleModule, clock, cloneGraphic, colorEqual, colorStringInterpolationToStr, container, cornerTangents, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGlyph, createGroup, createImage, createLine, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseClipRenderAfterContribution, defaultBaseClipRenderBeforeContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, globalTheme, glyphModule, graphicCreator, graphicService, graphicUtil, identityMat4, imageModule, incrementalAddTo, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, isXML, layerService, lineModule, lookAt, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonModule, preLoadAllModule, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, rect3dModule, rectFillVisible, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerArc3dGraphic, registerArcGraphic, registerAreaGraphic, registerCircleGraphic, registerDirectionalLight, registerFlexLayoutPlugin, registerGlyphGraphic, registerGroupGraphic, registerHtmlAttributePlugin, registerImageGraphic, registerLineGraphic, registerOrthoCamera, registerPathGraphic, registerPolygonGraphic, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect3dGraphic, registerRectGraphic, registerRichtextGraphic, registerShadowRootGraphic, registerSymbolGraphic, registerTextGraphic, registerViewTransform3dPlugin, registerWrapTextGraphic, renderCommandList, rewriteProto, richtextModule, rotateX, rotateY, rotateZ, runFill, runStroke, scaleMat4, segments, shouldUseMat4, snapLength, splitArc, splitArea, splitCircle, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, strCommandMap, strokeVisible, symbolModule, textAttributesToStyle, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textModule, transformKeys, transformMat4, transformUtil, translate, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, xul };
30507
+ export { ACustomAnimate, ARC3D_NUMBER_TYPE, ARC_NUMBER_TYPE, AREA_NUMBER_TYPE, AbstractGraphicRender, Animate, AnimateGroup, AnimateGroup1, AnimateMode, AnimateStatus, AnimateStepType, Application, Arc, Arc3d, Arc3dRender, ArcRender, ArcRenderContribution, Area, AreaRender, AreaRenderContribution, AttributeAnimate, AttributeUpdateType, AutoEnablePlugins, BaseCanvas, BaseEnvContribution, BaseRender, BaseRenderContributionTime, BaseWindowHandlerContribution, Basis, BeforeRenderConstribution, BoundsContext, BoundsPicker, CIRCLE_NUMBER_TYPE, Canvas3DDrawItemInterceptor, Canvas3DPickItemInterceptor, CanvasFactory, CanvasTextLayout, CbAnimate, Circle, CircleRender, CircleRenderContribution, ClipAngleAnimate, ClipDirectionAnimate, ClipGraphicAnimate, ClipRadiusAnimate, ColorInterpolate, ColorStore, ColorType, CommonDrawItemInterceptorContribution, CommonRenderContribution, Container, ContainerModule, Context2dFactory, ContributionProvider, CurveContext, CurveTypeEnum, CustomEvent, CustomPath2D, CustomSymbolClass, DEFAULT_TEXT_FONT_FAMILY, DebugDrawItemInterceptorContribution, DefaultArcAllocate, DefaultArcAttribute, DefaultArcRenderContribution, DefaultAreaAllocate, DefaultAreaAttribute, DefaultAreaTextureRenderContribution, DefaultAttribute, DefaultBaseBackgroundRenderContribution, DefaultBaseClipRenderAfterContribution, DefaultBaseClipRenderBeforeContribution, DefaultBaseInteractiveRenderContribution, DefaultBaseTextureRenderContribution, DefaultCanvasAllocate, DefaultCanvasArcRender, DefaultCanvasAreaRender, DefaultCanvasCircleRender, DefaultCanvasGroupRender, DefaultCanvasImageRender, DefaultCanvasLineRender, DefaultCanvasPathRender, DefaultCanvasPolygonRender, DefaultCanvasRectRender, DefaultCanvasSymbolRender, DefaultCanvasTextRender, DefaultCircleAllocate, DefaultCircleAttribute, DefaultCircleRenderContribution, DefaultConnectAttribute, DefaultDebugAttribute, DefaultFillStyle, DefaultGlobal, DefaultGlobalPickerService, DefaultGlyphAttribute, DefaultGraphicAllocate, DefaultGraphicMemoryManager, DefaultGraphicService, DefaultGraphicUtil, DefaultGroupAttribute, DefaultGroupBackgroundRenderContribution, DefaultImageAttribute, DefaultImageRenderContribution, DefaultLayerService, DefaultLayout, DefaultLineAllocate, DefaultLineAttribute, DefaultMat4Allocate, DefaultMatrixAllocate, DefaultMorphingAnimateConfig, DefaultPathAllocate, DefaultPathAttribute, DefaultPickService, DefaultPickStyle, DefaultPolygonAttribute, DefaultRect3dAttribute, DefaultRectAllocate, DefaultRectAttribute, DefaultRectRenderContribution, DefaultRenderService, DefaultRichTextAttribute, DefaultRichTextIconAttribute, DefaultStarAttribute, DefaultStateAnimateConfig, DefaultStrokeStyle, DefaultStyle, DefaultSymbolAllocate, DefaultSymbolAttribute, DefaultSymbolClipRangeStrokeRenderContribution, DefaultSymbolRenderContribution, DefaultTextAllocate, DefaultTextAttribute, DefaultTextMeasureContribution, DefaultTextStyle, DefaultTicker, DefaultTimeline, DefaultTransform, DefaultTransformUtil, DefaultWindow, Direction$1 as Direction, DirectionalLight, DrawContribution, DrawItemInterceptor, DynamicLayerHandlerContribution, Easing, Edge, EditModule, EmptyContext2d, EnvContribution, EventManager, EventSystem, EventTarget, FORMAT_ALL_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, Factory, FadeInPlus, FederatedEvent, FederatedMouseEvent, FederatedPointerEvent, FederatedWheelEvent, FlexLayoutPlugin, GLYPH_NUMBER_TYPE, GRAPHIC_UPDATE_TAG_KEY, GROUP_NUMBER_TYPE, Generator, GlobalPickerService, Glyph, GlyphRender, Graphic, GraphicAnimate, GraphicCreator$1 as GraphicCreator, GraphicPicker, GraphicRender, GraphicService, GraphicUtil, Group, GroupFadeIn, GroupFadeOut, GroupRender, GroupRenderContribution, GroupUpdateAABBBoundsMode, HtmlAttributePlugin, IContainPointMode, IMAGE_NUMBER_TYPE, Image, ImageRender, ImageRenderContribution, IncreaseCount, IncrementalDrawContribution, InputText, InteractiveDrawItemInterceptorContribution, InteractivePickItemInterceptorContribution, InteractiveSubRenderContribution, LINE_NUMBER_TYPE, Layer, LayerService, Line$1 as Line, LineRender, Linear, LinearClosed, ManualTickHandler, ManualTicker, Mat4Allocate, MatrixAllocate, MeasureModeEnum, Meteor, MonotoneX, MonotoneY, MorphingPath, MotionPath, MultiToOneMorphingPath, NOWORK_ANIMATE_ATTR, Node, OrthoCamera, PATH_NUMBER_TYPE, POLYGON_NUMBER_TYPE, PURE_STYLE_KEY, PYRAMID3D_NUMBER_TYPE, Path, PathRender, PathRenderContribution, PickItemInterceptor, PickServiceInterceptor, PickerService, PluginService, Polygon, PolygonRender, PolygonRenderContribution, Pyramid3d, Pyramid3dRender, RAFTickHandler, RECT3D_NUMBER_TYPE, RECT_NUMBER_TYPE, RICHTEXT_NUMBER_TYPE, RafBasedSTO, ReactAttributePlugin, Rect, Rect3DRender, Rect3d, RectRender, RectRenderContribution, ReflectSegContext, RenderSelector, RenderService, ResourceLoader, RichText, RichTextEditPlugin, RichTextRender, RotateBySphereAnimate, STAR_NUMBER_TYPE, SVG_ATTRIBUTE_MAP, SVG_ATTRIBUTE_MAP_KEYS, SVG_PARSE_ATTRIBUTE_MAP, SVG_PARSE_ATTRIBUTE_MAP_KEYS, SYMBOL_NUMBER_TYPE, SegContext, ShadowPickServiceInterceptorContribution, ShadowRoot, ShadowRootDrawItemInterceptorContribution, ShadowRootPickItemInterceptorContribution, SplitRectAfterRenderContribution, SplitRectBeforeRenderContribution, Stage, Star, StarRender, StarRenderContribution, StaticLayerHandlerContribution, Step$1 as Step, StreamLight, SubAnimate, Symbol$1 as Symbol, SymbolRender, SymbolRenderContribution, TEXT_NUMBER_TYPE, TagPointsUpdate, Text, TextDirection, TextMeasureContribution, TextRender, TextRenderContribution, Theme, TimeOutTickHandler, TransformUtil, UpdateTag, VGlobal, VWindow, ViewTransform3dPlugin, VirtualLayerHandlerContribution, WILDCARD, WindowHandlerContribution, WrapText, XMLParser, _calculateLineHeight, _interpolateColor, addArcToBezierPath, addAttributeToPrototype, alignBezierCurves, alignSubpath, application, applyTransformOnBezierCurves, arc3dModule, arcModule, areaModule, bezier, bezierCurversToPath, binarySplitPolygon, bindContributionProvider, bindContributionProviderNoSingletonScope, boundStroke, builtInSymbolStrMap, builtinSymbols, builtinSymbolsMap, calcLineCache, calculateArcCornerRadius, calculateLineHeight, canvasAllocate, centroidOfSubpath, circleBounds, circleModule, clock, cloneGraphic, colorEqual, colorStringInterpolationToStr, container, cornerTangents, createArc, createArc3d, createArea, createCircle, createColor, createConicalGradient, createGlyph, createGroup, createImage, createLine, createMat4, createPath, createPolygon, createPyramid3d, createRect, createRect3d, createRectPath, createRichText, createShadowRoot, createStage, createStar, createSymbol, createText, createWrapText, cubicCalc, cubicLength, cubicPointAt, cubicSubdivide, defaultArcAllocate, defaultArcBackgroundRenderContribution, defaultArcRenderContribution, defaultArcTextureRenderContribution, defaultAreaAllocate, defaultBaseBackgroundRenderContribution, defaultBaseClipRenderAfterContribution, defaultBaseClipRenderBeforeContribution, defaultBaseTextureRenderContribution, defaultCircleAllocate, defaultCircleBackgroundRenderContribution, defaultCircleRenderContribution, defaultCircleTextureRenderContribution, defaultGraphicMemoryManager, defaultGroupBackgroundRenderContribution, defaultImageBackgroundRenderContribution, defaultImageRenderContribution, defaultLineAllocate, defaultPathAllocate, defaultRectAllocate, defaultRectBackgroundRenderContribution, defaultRectRenderContribution, defaultRectTextureRenderContribution, defaultStarBackgroundRenderContribution, defaultStarTextureRenderContribution, defaultSymbolAllocate, defaultSymbolBackgroundRenderContribution, defaultSymbolClipRangeStrokeRenderContribution, defaultSymbolRenderContribution, defaultSymbolTextureRenderContribution, defaultTextAllocate, defaultTicker, defaultTimeline, drawArc, drawArcPath$1 as drawArcPath, drawAreaSegments, drawIncrementalAreaSegments, drawIncrementalSegments, drawSegments, enumCommandMap, fillVisible, findBestMorphingRotation, findConfigIndexByCursorIdx, findCursorIdxByConfigIndex, findNextGraphic, flatten_simplify, foreach, foreachAsync, genBasisSegments, genBasisTypeSegments, genLinearClosedSegments, genLinearClosedTypeSegments, genLinearSegments, genLinearTypeSegments, genMonotoneXSegments, genMonotoneXTypeSegments, genMonotoneYSegments, genMonotoneYTypeSegments, genNumberType, genStepSegments, genStepTypeSegments, generatorPathEasingFunc, getAttributeFromDefaultAttrList, getConicGradientAt, getCurrentEnv, getDefaultCharacterConfig, getExtraModelMatrix, getModelMatrix, getRichTextBounds, getScaledStroke, getTextBounds, getTheme, getThemeFromGroup, globalTheme, glyphModule, graphicCreator, graphicService, graphicUtil, identityMat4, imageModule, incrementalAddTo, inject, injectable, interpolateColor, interpolateGradientConicalColor, interpolateGradientLinearColor, interpolateGradientRadialColor, interpolatePureColorArray, intersect, isBrowserEnv, isNodeEnv, isSvg, isTransformKey, isXML, layerService, lineModule, lookAt, mat3Tomat4, mat4Allocate, matrixAllocate, morphPath, multiInject, multiToOneMorph, multiplyMat4Mat3, multiplyMat4Mat4, named, newThemeObj, oneToMultiMorph, ortho, parsePadding, parseStroke, parseSvgPath, pathModule, pathToBezierCurves, point$3 as point, pointEqual, pointInterpolation, pointInterpolationHighPerformance, pointsEqual, pointsInterpolation, polygonModule, preLoadAllModule, pyramid3dModule, quadCalc, quadLength, quadPointAt, rafBasedSto, rect3dModule, rectFillVisible, rectModule, rectStrokeVisible, recursiveCallBinarySplit, registerArc3dGraphic, registerArcGraphic, registerAreaGraphic, registerCircleGraphic, registerDirectionalLight, registerFlexLayoutPlugin, registerGlyphGraphic, registerGroupGraphic, registerHtmlAttributePlugin, registerImageGraphic, registerLineGraphic, registerOrthoCamera, registerPathGraphic, registerPolygonGraphic, registerPyramid3dGraphic, registerReactAttributePlugin, registerRect3dGraphic, registerRectGraphic, registerRichtextGraphic, registerShadowRootGraphic, registerStarGraphic, registerSymbolGraphic, registerTextGraphic, registerViewTransform3dPlugin, registerWrapTextGraphic, renderCommandList, rewriteProto, richtextModule, rotateX, rotateY, rotateZ, runFill, runStroke, scaleMat4, segments, shouldUseMat4, snapLength, splitArc, splitArea, splitCircle, splitGraphic, splitLine, splitPath, splitPolygon, splitRect, splitToGrids, starModule, strCommandMap, strokeVisible, symbolModule, textAttributesToStyle, textDrawOffsetX, textDrawOffsetY, textLayoutOffsetY, textModule, transformKeys, transformMat4, transformUtil, translate, verticalLayout, vglobal, waitForAllSubLayers, wrapCanvas, wrapContext, xul };