@drincs/pixi-vn 0.9.7 → 0.9.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 (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-CWVLYTYY.js +9 -0
  4. package/dist/WebGPURenderer-46NKQGBG.js +10 -0
  5. package/dist/{browserAll-2HD5EH7K.js → browserAll-S4EPEXZD.js} +5 -5
  6. package/dist/{chunk-PP5T5HEO.js → chunk-52ZSR3AN.js} +1 -1
  7. package/dist/{chunk-5VX2VTDZ.js → chunk-BJGKFUMU.js} +81 -27
  8. package/dist/{chunk-SAUNZQHZ.js → chunk-D753T42C.js} +1 -1
  9. package/dist/{chunk-ODIEVSQX.js → chunk-F74VVSHO.js} +3 -3
  10. package/dist/{chunk-6GJXIPNB.js → chunk-GEY6RTYO.js} +1 -1
  11. package/dist/{chunk-CAWOWL3P.js → chunk-IG7HSAEJ.js} +75 -34
  12. package/dist/{chunk-PP3SBC3C.js → chunk-KAHX5SKO.js} +18 -15
  13. package/dist/{chunk-WNOARCWH.js → chunk-LZNY6NEZ.js} +2 -2
  14. package/dist/{chunk-Z3NBKYVU.js → chunk-MQPMJVDR.js} +10 -9
  15. package/dist/{chunk-Y3WNBACN.js → chunk-R4J2U4HN.js} +2 -2
  16. package/dist/{chunk-NB4Q3GFK.js → chunk-RGKEAZTY.js} +256 -70
  17. package/dist/{chunk-73ID6GAW.js → chunk-UWBWDBB3.js} +2 -2
  18. package/dist/{chunk-TOG67Z7Q.js → chunk-V7WJOX65.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 +413 -258
  22. package/dist/classes/CharacterBaseModel.js +16 -17
  23. package/dist/classes/CharacterStoredClass.cjs +413 -258
  24. package/dist/classes/CharacterStoredClass.js +16 -17
  25. package/dist/classes/ChoiceMenuOption.cjs +341 -188
  26. package/dist/classes/ChoiceMenuOption.js +16 -17
  27. package/dist/classes/Sound.cjs +413 -258
  28. package/dist/classes/Sound.js +16 -17
  29. package/dist/classes/StoredClassModel.cjs +413 -258
  30. package/dist/classes/StoredClassModel.js +16 -17
  31. package/dist/classes/canvas/AdditionalPositions.cjs +39329 -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 +405 -252
  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 +16 -17
  45. package/dist/classes/canvas/ImageContainer.cjs +341 -186
  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 +16 -17
  49. package/dist/classes/canvas/ImageSprite.cjs +3049 -2894
  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 +16 -17
  53. package/dist/classes/canvas/Sprite.cjs +413 -262
  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 +16 -17
  57. package/dist/classes/canvas/Text.cjs +335 -182
  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 +16 -17
  61. package/dist/classes/canvas/VideoSprite.cjs +3046 -2889
  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 +16 -17
  65. package/dist/classes/index.cjs +415 -262
  66. package/dist/classes/index.d.cts +1 -1
  67. package/dist/classes/index.d.ts +1 -1
  68. package/dist/classes/index.js +17 -18
  69. package/dist/classes/ticker/FadeAlphaTicker.cjs +341 -188
  70. package/dist/classes/ticker/FadeAlphaTicker.js +16 -17
  71. package/dist/classes/ticker/MoveTicker.cjs +3572 -3421
  72. package/dist/classes/ticker/MoveTicker.js +16 -17
  73. package/dist/classes/ticker/RotateTicker.cjs +341 -188
  74. package/dist/classes/ticker/RotateTicker.js +16 -17
  75. package/dist/classes/ticker/TickerBase.cjs +413 -258
  76. package/dist/classes/ticker/TickerBase.js +16 -17
  77. package/dist/classes/ticker/ZoomTicker.cjs +341 -188
  78. package/dist/classes/ticker/ZoomTicker.js +16 -17
  79. package/dist/classes/ticker/index.cjs +413 -262
  80. package/dist/classes/ticker/index.js +16 -17
  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 +405 -252
  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 +16 -17
  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 +341 -188
  92. package/dist/decorators/index.d.cts +1 -1
  93. package/dist/decorators/index.d.ts +1 -1
  94. package/dist/decorators/index.js +16 -17
  95. package/dist/decorators/label-decorator.cjs +413 -260
  96. package/dist/decorators/label-decorator.js +16 -17
  97. package/dist/functions/canvas/canvas-effect.cjs +410 -257
  98. package/dist/functions/canvas/canvas-effect.js +16 -17
  99. package/dist/functions/canvas/canvas-memory-utility.cjs +405 -252
  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 +16 -17
  103. package/dist/functions/canvas/canvas-transition.cjs +413 -260
  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 +16 -17
  107. package/dist/functions/canvas/canvas-utility.cjs +413 -258
  108. package/dist/functions/canvas/canvas-utility.js +16 -17
  109. package/dist/functions/canvas/image-container-utility.cjs +416 -262
  110. package/dist/functions/canvas/image-container-utility.d.cts +5 -3
  111. package/dist/functions/canvas/image-container-utility.d.ts +5 -3
  112. package/dist/functions/canvas/image-container-utility.js +16 -17
  113. package/dist/functions/canvas/image-utility.cjs +413 -260
  114. package/dist/functions/canvas/image-utility.d.cts +5 -3
  115. package/dist/functions/canvas/image-utility.d.ts +5 -3
  116. package/dist/functions/canvas/image-utility.js +16 -17
  117. package/dist/functions/canvas/video-utility.cjs +4701 -4536
  118. package/dist/functions/canvas/video-utility.d.cts +5 -3
  119. package/dist/functions/canvas/video-utility.d.ts +5 -3
  120. package/dist/functions/canvas/video-utility.js +16 -17
  121. package/dist/functions/dialogue-utility.cjs +413 -258
  122. package/dist/functions/dialogue-utility.js +16 -17
  123. package/dist/functions/flags-utility.cjs +413 -258
  124. package/dist/functions/flags-utility.js +16 -17
  125. package/dist/functions/game-utility.cjs +413 -258
  126. package/dist/functions/game-utility.js +16 -17
  127. package/dist/functions/index.cjs +426 -266
  128. package/dist/functions/index.d.cts +1 -1
  129. package/dist/functions/index.d.ts +1 -1
  130. package/dist/functions/index.js +16 -17
  131. package/dist/functions/saves-utility.cjs +413 -258
  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 +16 -17
  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 +335 -182
  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 +16 -17
  141. package/dist/index.cjs +300 -138
  142. package/dist/index.d.cts +1 -1
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.js +20 -21
  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 +413 -260
  160. package/dist/labels/BaseCanvasElementTestLabel.js +16 -17
  161. package/dist/labels/CanvasEventsTestLabel.cjs +413 -260
  162. package/dist/labels/CanvasEventsTestLabel.d.cts +1 -1
  163. package/dist/labels/CanvasEventsTestLabel.d.ts +1 -1
  164. package/dist/labels/CanvasEventsTestLabel.js +16 -17
  165. package/dist/labels/CustomTickerCanvasElementTestLabel.cjs +284 -131
  166. package/dist/labels/CustomTickerCanvasElementTestLabel.js +16 -17
  167. package/dist/labels/ImagesAnimationsTestLabel.cjs +413 -260
  168. package/dist/labels/ImagesAnimationsTestLabel.js +16 -17
  169. package/dist/labels/InputTestLabel.cjs +341 -188
  170. package/dist/labels/InputTestLabel.js +16 -17
  171. package/dist/labels/MarkdownTest.cjs +341 -188
  172. package/dist/labels/MarkdownTest.js +16 -17
  173. package/dist/labels/SoundTestLabel.cjs +341 -188
  174. package/dist/labels/SoundTestLabel.js +16 -17
  175. package/dist/labels/StartLabel.cjs +413 -260
  176. package/dist/labels/StartLabel.js +16 -17
  177. package/dist/labels/StepLabelTest.cjs +341 -188
  178. package/dist/labels/StepLabelTest.js +16 -17
  179. package/dist/labels/VideoTestLabel.cjs +341 -188
  180. package/dist/labels/VideoTestLabel.js +16 -17
  181. package/dist/labels/index.cjs +413 -260
  182. package/dist/labels/index.js +16 -17
  183. package/dist/{lib-6FCVILMQ.js → lib-EBGYUC35.js} +8 -8
  184. package/dist/managers/CanvasManager.cjs +413 -258
  185. package/dist/managers/CanvasManager.d.cts +1 -1
  186. package/dist/managers/CanvasManager.d.ts +1 -1
  187. package/dist/managers/CanvasManager.js +16 -17
  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 +413 -258
  193. package/dist/managers/NarrationManager.d.cts +2 -1
  194. package/dist/managers/NarrationManager.d.ts +2 -1
  195. package/dist/managers/NarrationManager.js +16 -17
  196. package/dist/managers/NarrationManagerStatic.cjs +413 -258
  197. package/dist/managers/NarrationManagerStatic.d.cts +1 -1
  198. package/dist/managers/NarrationManagerStatic.d.ts +1 -1
  199. package/dist/managers/NarrationManagerStatic.js +16 -17
  200. package/dist/managers/SoundManager.cjs +413 -258
  201. package/dist/managers/SoundManager.js +16 -17
  202. package/dist/managers/StorageManager.cjs +413 -258
  203. package/dist/managers/StorageManager.js +16 -17
  204. package/dist/managers/index.cjs +413 -258
  205. package/dist/managers/index.d.cts +1 -1
  206. package/dist/managers/index.d.ts +1 -1
  207. package/dist/managers/index.js +16 -17
  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-RGKEAZTY.js";
11
11
  import "../chunk-OMPJ74CO.js";
12
12
  import "../chunk-2JGQWY5I.js";
13
- import "../chunk-2BUPSB7O.js";
14
- import "../chunk-IRUKNG2Y.js";
15
- import "../chunk-6GJXIPNB.js";
16
- import "../chunk-I6TNJEE3.js";
17
13
  import {
18
14
  StorageManagerStatic
19
15
  } from "../chunk-DPUSONJ3.js";
16
+ import "../chunk-GEY6RTYO.js";
17
+ import "../chunk-2BUPSB7O.js";
20
18
  import {
21
19
  CanvasManagerStatic
22
- } from "../chunk-WNOARCWH.js";
20
+ } from "../chunk-LZNY6NEZ.js";
23
21
  import {
24
22
  SoundManagerStatic
25
23
  } from "../chunk-6FAGAUDR.js";
24
+ import "../chunk-I6TNJEE3.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-V7WJOX65.js";
37
+ import "../chunk-X55ALTH7.js";
38
+ import "../chunk-MQPMJVDR.js";
39
+ import "../chunk-D753T42C.js";
40
+ import "../chunk-IG7HSAEJ.js";
41
+ import "../chunk-F74VVSHO.js";
42
+ import "../chunk-XGGTEP7V.js";
43
+ import "../chunk-UWBWDBB3.js";
44
+ import "../chunk-BJGKFUMU.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.9",
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";