@drincs/pixi-vn 0.9.7 → 0.9.8

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 (219) hide show
  1. package/dist/{ContainerChild-B5yD0BI8.d.ts → ContainerChild-AjuVp3wW.d.ts} +4 -1
  2. package/dist/{ContainerChild-WzyxEjAc.d.cts → ContainerChild-BUFxM6Ya.d.cts} +4 -1
  3. package/dist/WebGLRenderer-EFHDNV22.js +9 -0
  4. package/dist/WebGPURenderer-LEKL575M.js +10 -0
  5. package/dist/{browserAll-2HD5EH7K.js → browserAll-S4EPEXZD.js} +5 -5
  6. package/dist/{chunk-WNOARCWH.js → chunk-3XKVLXKN.js} +2 -2
  7. package/dist/{chunk-PP5T5HEO.js → chunk-52ZSR3AN.js} +1 -1
  8. package/dist/{chunk-SAUNZQHZ.js → chunk-D753T42C.js} +1 -1
  9. package/dist/{chunk-TOG67Z7Q.js → chunk-DQ47ST7G.js} +2 -2
  10. package/dist/{chunk-73ID6GAW.js → chunk-DWJGQ2A5.js} +2 -2
  11. package/dist/{chunk-5VX2VTDZ.js → chunk-DXOIIOAQ.js} +81 -27
  12. package/dist/{chunk-Z3NBKYVU.js → chunk-DZMWRZUL.js} +10 -9
  13. package/dist/{chunk-NB4Q3GFK.js → chunk-FXH7A6UR.js} +224 -53
  14. package/dist/{chunk-6GJXIPNB.js → chunk-GEY6RTYO.js} +1 -1
  15. package/dist/{chunk-CAWOWL3P.js → chunk-IG7HSAEJ.js} +75 -34
  16. package/dist/{chunk-PP3SBC3C.js → chunk-KAHX5SKO.js} +18 -15
  17. package/dist/{chunk-ODIEVSQX.js → chunk-OPLBQKS2.js} +3 -3
  18. package/dist/{chunk-Y3WNBACN.js → chunk-R4J2U4HN.js} +2 -2
  19. package/dist/{chunk-WS3FY4Q6.js → chunk-X55ALTH7.js} +2 -2
  20. package/dist/{chunk-5JREOVCG.js → chunk-XGGTEP7V.js} +1 -1
  21. package/dist/classes/CharacterBaseModel.cjs +397 -248
  22. package/dist/classes/CharacterBaseModel.js +14 -15
  23. package/dist/classes/CharacterStoredClass.cjs +397 -248
  24. package/dist/classes/CharacterStoredClass.js +14 -15
  25. package/dist/classes/ChoiceMenuOption.cjs +325 -178
  26. package/dist/classes/ChoiceMenuOption.js +14 -15
  27. package/dist/classes/Sound.cjs +397 -248
  28. package/dist/classes/Sound.js +14 -15
  29. package/dist/classes/StoredClassModel.cjs +397 -248
  30. package/dist/classes/StoredClassModel.js +14 -15
  31. package/dist/classes/canvas/AdditionalPositions.cjs +39323 -963
  32. package/dist/classes/canvas/AdditionalPositions.d.cts +3 -1
  33. package/dist/classes/canvas/AdditionalPositions.d.ts +3 -1
  34. package/dist/classes/canvas/AdditionalPositions.js +41 -10
  35. package/dist/classes/canvas/AnchorExtension.cjs +92 -48
  36. package/dist/classes/canvas/AnchorExtension.js +8 -8
  37. package/dist/classes/canvas/CanvasBaseItem.cjs +92 -48
  38. package/dist/classes/canvas/CanvasBaseItem.d.cts +1 -1
  39. package/dist/classes/canvas/CanvasBaseItem.d.ts +1 -1
  40. package/dist/classes/canvas/CanvasBaseItem.js +9 -9
  41. package/dist/classes/canvas/Container.cjs +389 -242
  42. package/dist/classes/canvas/Container.d.cts +1 -1
  43. package/dist/classes/canvas/Container.d.ts +1 -1
  44. package/dist/classes/canvas/Container.js +14 -15
  45. package/dist/classes/canvas/ImageContainer.cjs +325 -176
  46. package/dist/classes/canvas/ImageContainer.d.cts +1 -1
  47. package/dist/classes/canvas/ImageContainer.d.ts +1 -1
  48. package/dist/classes/canvas/ImageContainer.js +14 -15
  49. package/dist/classes/canvas/ImageSprite.cjs +3041 -2892
  50. package/dist/classes/canvas/ImageSprite.d.cts +1 -1
  51. package/dist/classes/canvas/ImageSprite.d.ts +1 -1
  52. package/dist/classes/canvas/ImageSprite.js +14 -15
  53. package/dist/classes/canvas/Sprite.cjs +397 -252
  54. package/dist/classes/canvas/Sprite.d.cts +1 -1
  55. package/dist/classes/canvas/Sprite.d.ts +1 -1
  56. package/dist/classes/canvas/Sprite.js +14 -15
  57. package/dist/classes/canvas/Text.cjs +319 -172
  58. package/dist/classes/canvas/Text.d.cts +1 -1
  59. package/dist/classes/canvas/Text.d.ts +1 -1
  60. package/dist/classes/canvas/Text.js +14 -15
  61. package/dist/classes/canvas/VideoSprite.cjs +3038 -2887
  62. package/dist/classes/canvas/VideoSprite.d.cts +4 -2
  63. package/dist/classes/canvas/VideoSprite.d.ts +4 -2
  64. package/dist/classes/canvas/VideoSprite.js +14 -15
  65. package/dist/classes/index.cjs +399 -252
  66. package/dist/classes/index.d.cts +1 -1
  67. package/dist/classes/index.d.ts +1 -1
  68. package/dist/classes/index.js +14 -15
  69. package/dist/classes/ticker/FadeAlphaTicker.cjs +325 -178
  70. package/dist/classes/ticker/FadeAlphaTicker.js +14 -15
  71. package/dist/classes/ticker/MoveTicker.cjs +3563 -3418
  72. package/dist/classes/ticker/MoveTicker.js +14 -15
  73. package/dist/classes/ticker/RotateTicker.cjs +325 -178
  74. package/dist/classes/ticker/RotateTicker.js +14 -15
  75. package/dist/classes/ticker/TickerBase.cjs +397 -248
  76. package/dist/classes/ticker/TickerBase.js +14 -15
  77. package/dist/classes/ticker/ZoomTicker.cjs +325 -178
  78. package/dist/classes/ticker/ZoomTicker.js +14 -15
  79. package/dist/classes/ticker/index.cjs +397 -252
  80. package/dist/classes/ticker/index.js +14 -15
  81. package/dist/constants.cjs +93 -49
  82. package/dist/constants.d.cts +1 -1
  83. package/dist/constants.d.ts +1 -1
  84. package/dist/constants.js +10 -10
  85. package/dist/decorators/canvas-element-decorator.cjs +389 -242
  86. package/dist/decorators/canvas-element-decorator.d.cts +1 -1
  87. package/dist/decorators/canvas-element-decorator.d.ts +1 -1
  88. package/dist/decorators/canvas-element-decorator.js +14 -15
  89. package/dist/decorators/event-decorator.d.cts +1 -1
  90. package/dist/decorators/event-decorator.d.ts +1 -1
  91. package/dist/decorators/index.cjs +325 -178
  92. package/dist/decorators/index.d.cts +1 -1
  93. package/dist/decorators/index.d.ts +1 -1
  94. package/dist/decorators/index.js +14 -15
  95. package/dist/decorators/label-decorator.cjs +397 -250
  96. package/dist/decorators/label-decorator.js +14 -15
  97. package/dist/functions/canvas/canvas-effect.cjs +394 -247
  98. package/dist/functions/canvas/canvas-effect.js +14 -15
  99. package/dist/functions/canvas/canvas-memory-utility.cjs +389 -242
  100. package/dist/functions/canvas/canvas-memory-utility.d.cts +1 -1
  101. package/dist/functions/canvas/canvas-memory-utility.d.ts +1 -1
  102. package/dist/functions/canvas/canvas-memory-utility.js +14 -15
  103. package/dist/functions/canvas/canvas-transition.cjs +397 -250
  104. package/dist/functions/canvas/canvas-transition.d.cts +1 -1
  105. package/dist/functions/canvas/canvas-transition.d.ts +1 -1
  106. package/dist/functions/canvas/canvas-transition.js +14 -15
  107. package/dist/functions/canvas/canvas-utility.cjs +397 -248
  108. package/dist/functions/canvas/canvas-utility.js +14 -15
  109. package/dist/functions/canvas/image-container-utility.cjs +397 -250
  110. package/dist/functions/canvas/image-container-utility.d.cts +1 -1
  111. package/dist/functions/canvas/image-container-utility.d.ts +1 -1
  112. package/dist/functions/canvas/image-container-utility.js +14 -15
  113. package/dist/functions/canvas/image-utility.cjs +397 -250
  114. package/dist/functions/canvas/image-utility.d.cts +1 -1
  115. package/dist/functions/canvas/image-utility.d.ts +1 -1
  116. package/dist/functions/canvas/image-utility.js +14 -15
  117. package/dist/functions/canvas/video-utility.cjs +4682 -4531
  118. package/dist/functions/canvas/video-utility.d.cts +1 -1
  119. package/dist/functions/canvas/video-utility.d.ts +1 -1
  120. package/dist/functions/canvas/video-utility.js +14 -15
  121. package/dist/functions/dialogue-utility.cjs +397 -248
  122. package/dist/functions/dialogue-utility.js +14 -15
  123. package/dist/functions/flags-utility.cjs +397 -248
  124. package/dist/functions/flags-utility.js +14 -15
  125. package/dist/functions/game-utility.cjs +397 -248
  126. package/dist/functions/game-utility.js +14 -15
  127. package/dist/functions/index.cjs +397 -252
  128. package/dist/functions/index.d.cts +1 -1
  129. package/dist/functions/index.d.ts +1 -1
  130. package/dist/functions/index.js +14 -15
  131. package/dist/functions/saves-utility.cjs +397 -248
  132. package/dist/functions/saves-utility.d.cts +1 -1
  133. package/dist/functions/saves-utility.d.ts +1 -1
  134. package/dist/functions/saves-utility.js +14 -15
  135. package/dist/functions/sound-utility.cjs +92 -48
  136. package/dist/functions/sound-utility.js +10 -10
  137. package/dist/functions/texture-utility.cjs +319 -172
  138. package/dist/functions/texture-utility.d.cts +1 -1
  139. package/dist/functions/texture-utility.d.ts +1 -1
  140. package/dist/functions/texture-utility.js +14 -15
  141. package/dist/index.cjs +268 -121
  142. package/dist/index.d.cts +1 -1
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.js +14 -15
  145. package/dist/interface/HistoryStep.d.cts +1 -1
  146. package/dist/interface/HistoryStep.d.ts +1 -1
  147. package/dist/interface/SaveData.d.cts +1 -1
  148. package/dist/interface/SaveData.d.ts +1 -1
  149. package/dist/interface/canvas/canvas-memory.d.cts +1 -1
  150. package/dist/interface/canvas/canvas-memory.d.ts +1 -1
  151. package/dist/interface/canvas/canvas-options.d.cts +1 -1
  152. package/dist/interface/canvas/canvas-options.d.ts +1 -1
  153. package/dist/interface/export/ExportedCanvas.d.cts +1 -1
  154. package/dist/interface/export/ExportedCanvas.d.ts +1 -1
  155. package/dist/interface/export/ExportedStep.d.cts +1 -1
  156. package/dist/interface/export/ExportedStep.d.ts +1 -1
  157. package/dist/interface/index.d.cts +1 -1
  158. package/dist/interface/index.d.ts +1 -1
  159. package/dist/labels/BaseCanvasElementTestLabel.cjs +397 -250
  160. package/dist/labels/BaseCanvasElementTestLabel.js +14 -15
  161. package/dist/labels/CanvasEventsTestLabel.cjs +397 -250
  162. package/dist/labels/CanvasEventsTestLabel.d.cts +1 -1
  163. package/dist/labels/CanvasEventsTestLabel.d.ts +1 -1
  164. package/dist/labels/CanvasEventsTestLabel.js +14 -15
  165. package/dist/labels/CustomTickerCanvasElementTestLabel.cjs +268 -121
  166. package/dist/labels/CustomTickerCanvasElementTestLabel.js +14 -15
  167. package/dist/labels/ImagesAnimationsTestLabel.cjs +397 -250
  168. package/dist/labels/ImagesAnimationsTestLabel.js +14 -15
  169. package/dist/labels/InputTestLabel.cjs +325 -178
  170. package/dist/labels/InputTestLabel.js +14 -15
  171. package/dist/labels/MarkdownTest.cjs +325 -178
  172. package/dist/labels/MarkdownTest.js +14 -15
  173. package/dist/labels/SoundTestLabel.cjs +325 -178
  174. package/dist/labels/SoundTestLabel.js +14 -15
  175. package/dist/labels/StartLabel.cjs +397 -250
  176. package/dist/labels/StartLabel.js +14 -15
  177. package/dist/labels/StepLabelTest.cjs +325 -178
  178. package/dist/labels/StepLabelTest.js +14 -15
  179. package/dist/labels/VideoTestLabel.cjs +325 -178
  180. package/dist/labels/VideoTestLabel.js +14 -15
  181. package/dist/labels/index.cjs +397 -250
  182. package/dist/labels/index.js +14 -15
  183. package/dist/{lib-6FCVILMQ.js → lib-5KZOZFFM.js} +8 -8
  184. package/dist/managers/CanvasManager.cjs +397 -248
  185. package/dist/managers/CanvasManager.d.cts +1 -1
  186. package/dist/managers/CanvasManager.d.ts +1 -1
  187. package/dist/managers/CanvasManager.js +14 -15
  188. package/dist/managers/CanvasManagerStatic.cjs +176 -77
  189. package/dist/managers/CanvasManagerStatic.d.cts +1 -1
  190. package/dist/managers/CanvasManagerStatic.d.ts +1 -1
  191. package/dist/managers/CanvasManagerStatic.js +9 -9
  192. package/dist/managers/NarrationManager.cjs +397 -248
  193. package/dist/managers/NarrationManager.d.cts +2 -1
  194. package/dist/managers/NarrationManager.d.ts +2 -1
  195. package/dist/managers/NarrationManager.js +14 -15
  196. package/dist/managers/NarrationManagerStatic.cjs +397 -248
  197. package/dist/managers/NarrationManagerStatic.d.cts +1 -1
  198. package/dist/managers/NarrationManagerStatic.d.ts +1 -1
  199. package/dist/managers/NarrationManagerStatic.js +14 -15
  200. package/dist/managers/SoundManager.cjs +397 -248
  201. package/dist/managers/SoundManager.js +14 -15
  202. package/dist/managers/StorageManager.cjs +397 -248
  203. package/dist/managers/StorageManager.js +14 -15
  204. package/dist/managers/index.cjs +397 -248
  205. package/dist/managers/index.d.cts +1 -1
  206. package/dist/managers/index.d.ts +1 -1
  207. package/dist/managers/index.js +14 -15
  208. package/dist/types/ContainerChild.d.cts +1 -1
  209. package/dist/types/ContainerChild.d.ts +1 -1
  210. package/dist/types/index.d.cts +1 -1
  211. package/dist/types/index.d.ts +1 -1
  212. package/dist/types/ticker/MoveTickerProps.d.cts +8 -0
  213. package/dist/types/ticker/MoveTickerProps.d.ts +8 -0
  214. package/dist/webworkerAll-XFBJBJMM.js +5 -0
  215. package/package.json +1 -1
  216. package/dist/WebGLRenderer-U57ZOBH6.js +0 -9
  217. package/dist/WebGPURenderer-EYIZ7IXV.js +0 -10
  218. package/dist/chunk-IRUKNG2Y.js +0 -130
  219. package/dist/webworkerAll-GSRT3S6X.js +0 -5
@@ -7,7 +7,7 @@ export { default as NarrationManagerStatic } from './NarrationManagerStatic.cjs'
7
7
  export { default as SoundManagerStatic } from './SoundManagerStatic.cjs';
8
8
  export { default as StorageManagerStatic } from './StorageManagerStatic.cjs';
9
9
  import 'pixi.js';
10
- import '../ContainerChild-WzyxEjAc.cjs';
10
+ import '../ContainerChild-BUFxM6Ya.cjs';
11
11
  import '../classes/canvas/AdditionalPositions.cjs';
12
12
  import '../interface/canvas/TextureMemory.cjs';
13
13
  import '../classes/canvas/AnchorExtension.cjs';
@@ -7,7 +7,7 @@ export { default as NarrationManagerStatic } from './NarrationManagerStatic.js';
7
7
  export { default as SoundManagerStatic } from './SoundManagerStatic.js';
8
8
  export { default as StorageManagerStatic } from './StorageManagerStatic.js';
9
9
  import 'pixi.js';
10
- import '../ContainerChild-B5yD0BI8.js';
10
+ import '../ContainerChild-AjuVp3wW.js';
11
11
  import '../classes/canvas/AdditionalPositions.js';
12
12
  import '../interface/canvas/TextureMemory.js';
13
13
  import '../classes/canvas/AnchorExtension.js';
@@ -7,26 +7,25 @@ import {
7
7
  narration,
8
8
  sound,
9
9
  storage
10
- } from "../chunk-NB4Q3GFK.js";
10
+ } from "../chunk-FXH7A6UR.js";
11
11
  import "../chunk-OMPJ74CO.js";
12
12
  import "../chunk-2JGQWY5I.js";
13
13
  import "../chunk-2BUPSB7O.js";
14
- import "../chunk-IRUKNG2Y.js";
15
- import "../chunk-6GJXIPNB.js";
14
+ import "../chunk-GEY6RTYO.js";
16
15
  import "../chunk-I6TNJEE3.js";
17
16
  import {
18
17
  StorageManagerStatic
19
18
  } from "../chunk-DPUSONJ3.js";
20
19
  import {
21
20
  CanvasManagerStatic
22
- } from "../chunk-WNOARCWH.js";
21
+ } from "../chunk-3XKVLXKN.js";
23
22
  import {
24
23
  SoundManagerStatic
25
24
  } from "../chunk-6FAGAUDR.js";
26
25
  import "../chunk-RI37WOHP.js";
27
26
  import "../chunk-ETZISN54.js";
28
27
  import "../chunk-VXCA724Z.js";
29
- import "../chunk-PP5T5HEO.js";
28
+ import "../chunk-52ZSR3AN.js";
30
29
  import "../chunk-ZZLQ3ILH.js";
31
30
  import "../chunk-JTQGULTR.js";
32
31
  import "../chunk-FHNQBWIZ.js";
@@ -34,16 +33,16 @@ import "../chunk-ZBUW3MBH.js";
34
33
  import "../chunk-PIYIZHZL.js";
35
34
  import "../chunk-B7XQM2BB.js";
36
35
  import "../chunk-LEMOIFSV.js";
37
- import "../chunk-TOG67Z7Q.js";
38
- import "../chunk-WS3FY4Q6.js";
39
- import "../chunk-Z3NBKYVU.js";
40
- import "../chunk-SAUNZQHZ.js";
41
- import "../chunk-CAWOWL3P.js";
42
- import "../chunk-ODIEVSQX.js";
43
- import "../chunk-5JREOVCG.js";
44
- import "../chunk-73ID6GAW.js";
45
- import "../chunk-5VX2VTDZ.js";
46
- import "../chunk-PP3SBC3C.js";
36
+ import "../chunk-DQ47ST7G.js";
37
+ import "../chunk-X55ALTH7.js";
38
+ import "../chunk-DZMWRZUL.js";
39
+ import "../chunk-D753T42C.js";
40
+ import "../chunk-IG7HSAEJ.js";
41
+ import "../chunk-OPLBQKS2.js";
42
+ import "../chunk-XGGTEP7V.js";
43
+ import "../chunk-DWJGQ2A5.js";
44
+ import "../chunk-DXOIIOAQ.js";
45
+ import "../chunk-KAHX5SKO.js";
47
46
  import "../chunk-HKAY3U4R.js";
48
47
  import "../chunk-SJIEQTBV.js";
49
48
  import "../chunk-CBG6JWY4.js";
@@ -1,5 +1,5 @@
1
1
  import 'pixi.js';
2
- export { i as default } from '../ContainerChild-WzyxEjAc.cjs';
2
+ export { i as default } from '../ContainerChild-BUFxM6Ya.cjs';
3
3
  import '../classes/canvas/AdditionalPositions.cjs';
4
4
  import '../interface/canvas/TextureMemory.cjs';
5
5
  import '../classes/canvas/AnchorExtension.cjs';
@@ -1,5 +1,5 @@
1
1
  import 'pixi.js';
2
- export { i as default } from '../ContainerChild-B5yD0BI8.js';
2
+ export { i as default } from '../ContainerChild-AjuVp3wW.js';
3
3
  import '../classes/canvas/AdditionalPositions.js';
4
4
  import '../interface/canvas/TextureMemory.js';
5
5
  import '../classes/canvas/AnchorExtension.js';
@@ -1,7 +1,7 @@
1
1
  export { default as CanvasEventNamesType } from './CanvasEventNamesType.cjs';
2
2
  export { ChoiceMenuOptionsType } from './ChoiceMenuOptionsType.cjs';
3
3
  export { Close, CloseType } from './CloseType.cjs';
4
- export { i as ContainerChild } from '../ContainerChild-WzyxEjAc.cjs';
4
+ export { i as ContainerChild } from '../ContainerChild-BUFxM6Ya.cjs';
5
5
  export { default as DialogueType } from './DialogueType.cjs';
6
6
  export { default as HistoryChoiceMenuOption } from './HistoryChoiceMenuOption.cjs';
7
7
  export { InputInfo } from './InputInfo.cjs';
@@ -1,7 +1,7 @@
1
1
  export { default as CanvasEventNamesType } from './CanvasEventNamesType.js';
2
2
  export { ChoiceMenuOptionsType } from './ChoiceMenuOptionsType.js';
3
3
  export { Close, CloseType } from './CloseType.js';
4
- export { i as ContainerChild } from '../ContainerChild-B5yD0BI8.js';
4
+ export { i as ContainerChild } from '../ContainerChild-AjuVp3wW.js';
5
5
  export { default as DialogueType } from './DialogueType.js';
6
6
  export { default as HistoryChoiceMenuOption } from './HistoryChoiceMenuOption.js';
7
7
  export { InputInfo } from './InputInfo.js';
@@ -13,6 +13,14 @@ type MoveTickerProps = {
13
13
  * The destination of the movement
14
14
  */
15
15
  destination: {
16
+ /**
17
+ * The type of the destination. Possible values are "pixel", "percentage" and "align":
18
+ * - "pixel": The destination is in pixel
19
+ * - "percentage": The destination is in percentage
20
+ * - "align": The destination is in align
21
+ * @default "pixel"
22
+ */
23
+ type?: "pixel" | "percentage" | "align";
16
24
  y: number;
17
25
  x: number;
18
26
  };
@@ -13,6 +13,14 @@ type MoveTickerProps = {
13
13
  * The destination of the movement
14
14
  */
15
15
  destination: {
16
+ /**
17
+ * The type of the destination. Possible values are "pixel", "percentage" and "align":
18
+ * - "pixel": The destination is in pixel
19
+ * - "percentage": The destination is in percentage
20
+ * - "align": The destination is in align
21
+ * @default "pixel"
22
+ */
23
+ type?: "pixel" | "percentage" | "align";
16
24
  y: number;
17
25
  x: number;
18
26
  };
@@ -0,0 +1,5 @@
1
+ import "./chunk-R4J2U4HN.js";
2
+ import "./chunk-IG7HSAEJ.js";
3
+ import "./chunk-XGGTEP7V.js";
4
+ import "./chunk-KAHX5SKO.js";
5
+ import "./chunk-N342G4HO.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/pixi-vn",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "type": "module",
5
5
  "description": "Pixi'VN is a npm package that provides various features for creating visual novels.",
6
6
  "main": "./dist/index.cjs",
@@ -1,9 +0,0 @@
1
- import {
2
- WebGLRenderer
3
- } from "./chunk-73ID6GAW.js";
4
- import "./chunk-5VX2VTDZ.js";
5
- import "./chunk-PP3SBC3C.js";
6
- import "./chunk-N342G4HO.js";
7
- export {
8
- WebGLRenderer
9
- };
@@ -1,10 +0,0 @@
1
- import {
2
- WebGPURenderer
3
- } from "./chunk-ODIEVSQX.js";
4
- import "./chunk-5JREOVCG.js";
5
- import "./chunk-5VX2VTDZ.js";
6
- import "./chunk-PP3SBC3C.js";
7
- import "./chunk-N342G4HO.js";
8
- export {
9
- WebGPURenderer
10
- };
@@ -1,130 +0,0 @@
1
- import {
2
- Container
3
- } from "./chunk-PP3SBC3C.js";
4
-
5
- // src/classes/canvas/AdditionalPositions.ts
6
- var AdditionalPositionsExtension = class extends Container {
7
- /**
8
- * is a way to set the position of the element in the canvas. compared to position, align, it is a percentage used to determine the proximity from the edges of the canvas.
9
- * For example:
10
- * - if you set align to 0.5, the element will be in the center of the canvas.
11
- * - if you set align to 0, the left end and a top end of the element will be in the left end and top end of the canvas.
12
- * - if you set align to 1, the right end and a bottom end of the element will be in the right end and bottom end of the canvas.
13
- *
14
- * **Important:** The {@link PixiContainer.pivot} field does not affect the alignment.
15
- */
16
- set align(_value) {
17
- throw new Error("Method not implemented.");
18
- }
19
- /**
20
- * is a way to set the position of the element in the canvas. compared to position, align, it is a percentage used to determine the proximity from the edges of the canvas.
21
- * For example:
22
- * - if you set align to 0.5, the element will be in the center of the canvas.
23
- * - if you set align to 0, the left end and a top end of the element will be in the left end and top end of the canvas.
24
- * - if you set align to 1, the right end and a bottom end of the element will be in the right end and bottom end of the canvas.
25
- *
26
- * **Important:** The {@link PixiContainer.pivot} field does not affect the alignment.
27
- */
28
- set xAlign(_value) {
29
- throw new Error("Method not implemented.");
30
- }
31
- /**
32
- * is a way to set the position of the element in the canvas. compared to position, align, it is a percentage used to determine the proximity from the edges of the canvas.
33
- * For example:
34
- * - if you set align to 0.5, the element will be in the center of the canvas.
35
- * - if you set align to 0, the left end and a top end of the element will be in the left end and top end of the canvas.
36
- * - if you set align to 1, the right end and a bottom end of the element will be in the right end and bottom end of the canvas.
37
- *
38
- * **Important:** The {@link PixiContainer.pivot} field does not affect the alignment.
39
- */
40
- set yAlign(_value) {
41
- throw new Error("Method not implemented.");
42
- }
43
- /**
44
- * is a way to set the position of the element in the canvas calculated in percentage.
45
- * For example, if you set the {@link PixiContainer.pivot} to 0.5, and:
46
- * - if you set percentagePosition to 0.5, the element will be in the center of the canvas.
47
- * - If you set percentagePosition to 0, the center of the element will be in the left end and top end of the canvas.
48
- * - If you set percentagePosition to 1, the center of the element will be in the right end and bottom end of the canvas.
49
- *
50
- * **Important:** The {@link PixiContainer.pivot} field does affect the percentagePosition.
51
- */
52
- set percentagePosition(_value) {
53
- throw new Error("Method not implemented.");
54
- }
55
- /**
56
- * is a way to set the position of the element in the canvas calculated in percentage.
57
- * For example, if you set the {@link PixiContainer.pivot} to 0.5, and:
58
- * - if you set percentagePosition to 0.5, the element will be in the center of the canvas.
59
- * - If you set percentagePosition to 0, the center of the element will be in the left end and top end of the canvas.
60
- * - If you set percentagePosition to 1, the center of the element will be in the right end and bottom end of the canvas.
61
- *
62
- * **Important:** The {@link PixiContainer.pivot} field does affect the percentagePosition.
63
- */
64
- set xPercentagePosition(_value) {
65
- throw new Error("Method not implemented.");
66
- }
67
- /**
68
- * is a way to set the position of the element in the canvas calculated in percentage.
69
- * For example, if you set the {@link PixiContainer.pivot} to 0.5, and:
70
- * - if you set percentagePosition to 0.5, the element will be in the center of the canvas.
71
- * - If you set percentagePosition to 0, the center of the element will be in the left end and top end of the canvas.
72
- * - If you set percentagePosition to 1, the center of the element will be in the right end and bottom end of the canvas.
73
- *
74
- * **Important:** The {@link PixiContainer.pivot} field does affect the percentagePosition.
75
- */
76
- set yPercentagePosition(_value) {
77
- throw new Error("Method not implemented.");
78
- }
79
- };
80
- function analizePositionsExtensionProps(props) {
81
- if (!props) {
82
- return props;
83
- }
84
- if (typeof props.align !== "number") {
85
- if (props.xAlign != void 0) {
86
- if (props.align === void 0) {
87
- props.align = { x: props.xAlign };
88
- delete props.xAlign;
89
- } else {
90
- props.align.x = props.xAlign;
91
- delete props.xAlign;
92
- }
93
- }
94
- if (props.yAlign != void 0) {
95
- if (props.align === void 0) {
96
- props.align = { y: props.yAlign };
97
- delete props.yAlign;
98
- } else {
99
- props.align.y = props.yAlign;
100
- delete props.yAlign;
101
- }
102
- }
103
- }
104
- if (typeof props.percentagePosition !== "number") {
105
- if (props.xPercentagePosition != void 0) {
106
- if (props.percentagePosition === void 0) {
107
- props.percentagePosition = { x: props.xPercentagePosition };
108
- delete props.xPercentagePosition;
109
- } else {
110
- props.percentagePosition.x = props.xPercentagePosition;
111
- delete props.xPercentagePosition;
112
- }
113
- }
114
- if (props.yPercentagePosition != void 0) {
115
- if (props.percentagePosition === void 0) {
116
- props.percentagePosition = { y: props.yPercentagePosition };
117
- delete props.yPercentagePosition;
118
- } else {
119
- props.percentagePosition.y = props.yPercentagePosition;
120
- delete props.yPercentagePosition;
121
- }
122
- }
123
- }
124
- return props;
125
- }
126
-
127
- export {
128
- AdditionalPositionsExtension,
129
- analizePositionsExtensionProps
130
- };
@@ -1,5 +0,0 @@
1
- import "./chunk-Y3WNBACN.js";
2
- import "./chunk-CAWOWL3P.js";
3
- import "./chunk-5JREOVCG.js";
4
- import "./chunk-PP3SBC3C.js";
5
- import "./chunk-N342G4HO.js";