forked from pixijs-userland/pixi-haxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.xml
18336 lines (18227 loc) · 674 KB
/
docs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<haxe>
<class path="Array" params="T" file="/usr/lib/haxe/std/js/_std/Array.hx" extern="1">
<length public="1" set="null">
<x path="Int"/>
<haxe_doc>The length of `this` Array.</haxe_doc>
</length>
<join public="1" set="method">
<f a="sep">
<c path="String"/>
<c path="String"/>
</f>
<haxe_doc>Returns a string representation of `this` Array, with `sep` separating
each element.
The result of this operation is equal to `Std.string(this[0]) + sep +
Std.string(this[1]) + sep + ... + sep + Std.string(this[this.length-1])`
If `this` is the empty Array `[]`, the result is the empty String `""`.
If `this` has exactly one element, the result is equal to a call to
`Std.string(this[0])`.
If `sep` is null, the result is unspecified.</haxe_doc>
</join>
<push public="1" set="method">
<f a="x">
<c path="Array.T"/>
<x path="Int"/>
</f>
<haxe_doc>Adds the element `x` at the end of `this` Array and returns the new
length of `this` Array.
This operation modifies `this` Array in place.
`this.length` increases by 1.</haxe_doc>
</push>
<haxe_doc>An Array is a storage for values. You can access it using indexes or
with its API.</haxe_doc>
<meta>
<m n=":keep"/>
<m n=":directlyUsed"/>
<m n=":coreApi"/>
</meta>
</class>
<abstract path="Class" params="T" file="/usr/lib/haxe/std/Class.hx">
<this><x path="Class"><c path="Class.T"/></x></this>
<haxe_doc>An abstract type that represents a Class.
See `Type` for the Haxe Reflection API.</haxe_doc>
<meta>
<m n=":coreType"/>
<m n=":runtimeValue"/>
</meta>
</abstract>
<class path="Date" params="" file="/usr/lib/haxe/std/js/_std/Date.hx" extern="1">
<now public="1" get="inline" set="null" line="38" static="1">
<f a=""><c path="Date"/></f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns a Date representing the current local time.</haxe_doc>
</now>
<fromTime public="1" get="inline" set="null" line="42" static="1">
<f a="t">
<x path="Float"/>
<c path="Date"/>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns a Date from timestamp `t`.</haxe_doc>
</fromTime>
<fromString public="1" get="inline" set="null" line="48" static="1">
<f a="s">
<c path="String"/>
<c path="Date"/>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns a Date from a formated string `s`, with the following accepted
formats:
- `"YYYY-MM-DD hh:mm:ss"`
- `"YYYY-MM-DD"`
- `"hh:mm:ss"`
The first two formats are expressed in local time, the third in UTC
Epoch.</haxe_doc>
</fromString>
<getTime public="1" set="method">
<f a=""><x path="Float"/></f>
<haxe_doc>Returns the timestamp of the date. It might only have a per-second
precision depending on the platforms.</haxe_doc>
</getTime>
<getHours public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the hours of `this` Date (0-23 range).</haxe_doc>
</getHours>
<getMinutes public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the minutes of `this` Date (0-59 range).</haxe_doc>
</getMinutes>
<getSeconds public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the seconds of the `this` Date (0-59 range).</haxe_doc>
</getSeconds>
<getFullYear public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the full year of `this` Date (4-digits).</haxe_doc>
</getFullYear>
<getMonth public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the month of `this` Date (0-11 range).</haxe_doc>
</getMonth>
<getDate public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the day of `this` Date (1-31 range).</haxe_doc>
</getDate>
<getDay public="1" set="method">
<f a=""><x path="Int"/></f>
<haxe_doc>Returns the day of the week of `this` Date (0-6 range).</haxe_doc>
</getDay>
<toString public="1" get="inline" set="null" line="34">
<f a=""><c path="String"/></f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns a string representation of `this` Date, by using the
standard format [YYYY-MM-DD HH:MM:SS]. See `DateTools.format` for
other formating rules.</haxe_doc>
</toString>
<new public="1" set="method">
<f a="year:month:day:hour:min:sec">
<x path="Int"/>
<x path="Int"/>
<x path="Int"/>
<x path="Int"/>
<x path="Int"/>
<x path="Int"/>
<x path="Void"/>
</f>
<haxe_doc>Creates a new date object from the given arguments.
The behaviour of a Date instance is only consistent across platforms if
the the arguments describe a valid date.
- month: 0 to 11
- day: 1 to 31
- hour: 0 to 23
- min: 0 to 59
- sec: 0 to 59</haxe_doc>
</new>
<haxe_doc>The Date class provides a basic structure for date and time related
information. Date instances can be created by
- `new Date()` for a specific date,
- `Date.now()` to obtain information about the current time,
- `Date.fromTime()` with a given timestamp or
- `Date.fromString()` by parsing from a String.
There is some extra functions available in the `DateTools` class.
In the context of haxe dates, a timestamp is defined as the number of
milliseconds elapsed since 1st January 1970.</haxe_doc>
<meta>
<m n=":directlyUsed"/>
<m n=":coreApi"/>
</meta>
</class>
<class path="EReg" params="" file="/usr/lib/haxe/std/js/_std/EReg.hx">
<r><c path="_EReg.HaxeRegExp"/></r>
<match public="1" set="method" line="31">
<f a="s">
<c path="String"/>
<x path="Bool"/>
</f>
<haxe_doc>Tells if `this` regular expression matches String `s`.
This method modifies the internal state.
If `s` is `null`, the result is unspecified.</haxe_doc>
</match>
<new public="1" set="method" line="26">
<f a="r:opt">
<c path="String"/>
<c path="String"/>
<x path="Void"/>
</f>
<haxe_doc>Creates a new regular expression with pattern `r` and modifiers `opt`.
This is equivalent to the shorthand syntax `~/r/opt`
If `r` or `opt` are null, the result is unspecified.</haxe_doc>
</new>
<haxe_doc>The EReg class represents regular expressions.
While basic usage and patterns consistently work across platforms, some more
complex operations may yield different results. This is a necessary trade-
off to retain a certain level of performance.
EReg instances can be created by calling the constructor, or with the
special syntax ~/pattern/modifier
EReg instances maintain an internal state, which is affected by several of
its methods.
A detailed explanation of the supported operations is available at
http://haxe.org/manual/std-regex.html</haxe_doc>
<meta>
<m n=":keep"/>
<m n=":directlyUsed"/>
<m n=":coreApi"/>
</meta>
</class>
<class path="js.RegExp" params="" file="/usr/lib/haxe/std/js/RegExp.hx" extern="1">
<global public="1" set="null"><x path="Bool"/></global>
<ignoreCase public="1" set="null"><x path="Bool"/></ignoreCase>
<multiline public="1" set="null"><x path="Bool"/></multiline>
<source public="1" set="null"><c path="String"/></source>
<lastIndex public="1"><x path="Int"/></lastIndex>
<exec public="1" set="method"><f a="str">
<c path="String"/>
<t path="Null"><c path="js.RegExpMatch"/></t>
</f></exec>
<test public="1" set="method"><f a="str">
<c path="String"/>
<x path="Bool"/>
</f></test>
<toString public="1" set="method"><f a=""><c path="String"/></f></toString>
<new public="1" set="method"><f a="pattern:?flags">
<c path="String"/>
<c path="String"/>
<x path="Void"/>
</f></new>
<haxe_doc>Native JavaScript regular expressions.
For cross-platform regular expressions, use haxe `EReg` class or regexp literals.</haxe_doc>
<meta><m n=":native"><e>"RegExp"</e></m></meta>
</class>
<class path="_EReg.HaxeRegExp" params="" file="/usr/lib/haxe/std/js/_std/EReg.hx" private="1" module="EReg" extern="1">
<extends path="js.RegExp"/>
<m public="1"><c path="js.RegExpMatch"/></m>
<s public="1"><c path="String"/></s>
<meta>
<m n=":directlyUsed"/>
<m n=":native"><e>"RegExp"</e></m>
</meta>
</class>
<abstract path="Enum" params="T" file="/usr/lib/haxe/std/Enum.hx">
<this><x path="Enum"><c path="Enum.T"/></x></this>
<haxe_doc>An abstract type that represents an Enum type.
The corresponding enum instance type is `EnumValue`.
See `Type` for the Haxe Reflection API.</haxe_doc>
<meta>
<m n=":coreType"/>
<m n=":runtimeValue"/>
</meta>
</abstract>
<abstract path="EnumValue" params="" file="/usr/lib/haxe/std/EnumValue.hx">
<this><x path="EnumValue"/></this>
<haxe_doc>An abstract type that represents any enum value.
See `Type` for the Haxe Reflection API.</haxe_doc>
<meta><m n=":coreType"/></meta>
</abstract>
<abstract path="Map" params="K:V" file="/usr/lib/haxe/std/Map.hx">
<from>
<icast field="fromStringMap"><c path="haxe.ds.StringMap"><c path="fromStringMap.V"/></c></icast>
<icast field="fromIntMap"><c path="haxe.ds.IntMap"><c path="fromIntMap.V"/></c></icast>
<icast field="fromObjectMap"><c path="haxe.ds.ObjectMap">
<c path="fromObjectMap.K"/>
<c path="fromObjectMap.V"/>
</c></icast>
</from>
<this><t path="IMap">
<c path="Map.K"/>
<c path="Map.V"/>
</t></this>
<to>
<icast field="toStringMap"><c path="haxe.ds.StringMap"><c path="toStringMap.V"/></c></icast>
<icast field="toIntMap"><c path="haxe.ds.IntMap"><c path="toIntMap.V"/></c></icast>
<icast field="toEnumValueMapMap"><c path="haxe.ds.EnumValueMap">
<c path="toEnumValueMapMap.K"/>
<c path="toEnumValueMapMap.V"/>
</c></icast>
<icast field="toObjectMap"><c path="haxe.ds.ObjectMap">
<c path="toObjectMap.K"/>
<c path="toObjectMap.V"/>
</c></icast>
</to>
<haxe_doc><![CDATA[Map allows key to value mapping for arbitrary value types, and many key
types.
This is a multi-type abstract, it is instantiated as one of its
specialization types depending on its type parameters.
A Map can be instantiated without explicit type parameters. Type inference
will then determine the type parameters from the usage.
Maps can also be created with `key1 => value1, key2 => value2` syntax.
Map is an abstract type, it is not available at runtime.]]></haxe_doc>
<meta><m n=":multiType"><e>K</e></m></meta>
<impl><class path="_Map.Map_Impl_" params="" file="/usr/lib/haxe/std/Map.hx" private="1" module="Map"><meta><m n=":keep"/></meta></class></impl>
</abstract>
<typedef path="IMap" params="K:V" file="/usr/lib/haxe/std/Map.hx" module="Map">
<c path="haxe.IMap">
<c path="IMap.K"/>
<c path="IMap.V"/>
</c>
<meta><m n=":deprecated"/></meta>
</typedef>
<class path="Math" params="" file="/usr/lib/haxe/std/js/_std/Math.hx" extern="1">
<floor public="1" set="method" static="1"><f a="v">
<x path="Float"/>
<x path="Int"/>
</f></floor>
<log public="1" set="method" static="1"><f a="v">
<x path="Float"/>
<x path="Float"/>
</f></log>
<max public="1" set="method" static="1"><f a="a:b">
<x path="Float"/>
<x path="Float"/>
<x path="Float"/>
</f></max>
<min public="1" set="method" static="1"><f a="a:b">
<x path="Float"/>
<x path="Float"/>
<x path="Float"/>
</f></min>
<pow public="1" set="method" static="1"><f a="v:exp">
<x path="Float"/>
<x path="Float"/>
<x path="Float"/>
</f></pow>
<round public="1" set="method" static="1"><f a="v">
<x path="Float"/>
<x path="Int"/>
</f></round>
<meta>
<m n=":keep"/>
<m n=":directlyUsed"/>
<m n=":keepInit"/>
</meta>
</class>
<class path="Perf" params="" file="/haxe/pixi-haxe/.haxelib/perf,js/1,0,6/Perf.hx">
<MEASUREMENT_INTERVAL public="1" line="7" static="1"><x path="Int"/></MEASUREMENT_INTERVAL>
<FONT_FAMILY public="1" line="9" static="1"><c path="String"/></FONT_FAMILY>
<FPS_BG_CLR public="1" line="11" static="1"><c path="String"/></FPS_BG_CLR>
<FPS_WARN_BG_CLR public="1" line="12" static="1"><c path="String"/></FPS_WARN_BG_CLR>
<FPS_PROB_BG_CLR public="1" line="13" static="1"><c path="String"/></FPS_PROB_BG_CLR>
<MS_BG_CLR public="1" line="15" static="1"><c path="String"/></MS_BG_CLR>
<MEM_BG_CLR public="1" line="16" static="1"><c path="String"/></MEM_BG_CLR>
<INFO_BG_CLR public="1" line="17" static="1"><c path="String"/></INFO_BG_CLR>
<FPS_TXT_CLR public="1" line="18" static="1"><c path="String"/></FPS_TXT_CLR>
<MS_TXT_CLR public="1" line="19" static="1"><c path="String"/></MS_TXT_CLR>
<MEM_TXT_CLR public="1" line="20" static="1"><c path="String"/></MEM_TXT_CLR>
<INFO_TXT_CLR public="1" line="21" static="1"><c path="String"/></INFO_TXT_CLR>
<fps public="1"><c path="js.html.DivElement"/></fps>
<ms public="1"><c path="js.html.DivElement"/></ms>
<memory public="1"><c path="js.html.DivElement"/></memory>
<info public="1"><c path="js.html.DivElement"/></info>
<currentFps public="1"><x path="Float"/></currentFps>
<currentMs public="1"><x path="Float"/></currentMs>
<currentMem public="1"><c path="String"/></currentMem>
<_time><x path="Float"/></_time>
<_startTime><x path="Float"/></_startTime>
<_prevTime><x path="Float"/></_prevTime>
<_ticks><x path="Int"/></_ticks>
<_fpsMin><x path="Float"/></_fpsMin>
<_fpsMax><x path="Float"/></_fpsMax>
<_memCheck><x path="Bool"/></_memCheck>
<_pos><c path="String"/></_pos>
<_perfObj><c path="js.html.Performance"/></_perfObj>
<_memoryObj><t path="Memory"/></_memoryObj>
<_tick set="method" line="76"><f a=""><x path="Void"/></f></_tick>
<_createDiv set="method" line="107"><f a="id:?top">
<c path="String"/>
<x path="Float"/>
<c path="js.html.DivElement"/>
</f></_createDiv>
<_createFpsDom set="method" line="140"><f a=""><x path="Void"/></f></_createFpsDom>
<_createMsDom set="method" line="148"><f a=""><x path="Void"/></f></_createMsDom>
<_createMemoryDom set="method" line="156"><f a=""><x path="Void"/></f></_createMemoryDom>
<_getFormattedSize set="method" line="164"><f a="bytes:?frac">
<x path="Float"/>
<x path="Int"/>
<c path="String"/>
</f></_getFormattedSize>
<addInfo public="1" set="method" line="172"><f a="val">
<c path="String"/>
<x path="Void"/>
</f></addInfo>
<new public="1" set="method" line="49">
<f a="?pos">
<c path="String"/>
<x path="Void"/>
</f>
<meta><m n=":has_untyped"/></meta>
</new>
<meta>
<m n=":keep"/>
<m n=":directlyUsed"/>
<m n=":expose"/>
</meta>
</class>
<typedef path="Memory" params="" file="/haxe/pixi-haxe/.haxelib/perf,js/1,0,6/Perf.hx" module="Perf"><a>
<usedJSHeapSize><x path="Float"/></usedJSHeapSize>
<totalJSHeapSize><x path="Float"/></totalJSHeapSize>
<jsHeapSizeLimit><x path="Float"/></jsHeapSizeLimit>
</a></typedef>
<class path="Reflect" params="" file="/usr/lib/haxe/std/js/_std/Reflect.hx">
<field public="1" set="method" line="28" static="1">
<f a="o:field">
<d/>
<c path="String"/>
<d/>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns the value of the field named `field` on object `o`.
If `o` is not an object or has no field named `field`, the result is
null.
If the field is defined as a property, its accessors are ignored. Refer
to `Reflect.getProperty` for a function supporting property accessors.
If `field` is null, the result is unspecified.
(As3) If used on a property field, the getter will be invoked. It is
not possible to obtain the value directly.</haxe_doc>
</field>
<fields public="1" set="method" line="50" static="1">
<f a="o">
<d/>
<c path="Array"><c path="String"/></c>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns the fields of structure `o`.
This method is only guaranteed to work on anonymous structures. Refer to
`Type.getInstanceFields` for a function supporting class instances.
If `o` is null, the result is unspecified.</haxe_doc>
</fields>
<isFunction public="1" set="method" line="61" static="1">
<f a="f">
<d/>
<x path="Bool"/>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns true if `f` is a function, false otherwise.
If `f` is null, the result is false.</haxe_doc>
</isFunction>
<compareMethods public="1" set="method" line="69" static="1">
<f a="f1:f2">
<d/>
<d/>
<x path="Bool"/>
</f>
<haxe_doc>Compares the functions `f1` and `f2`.
If `f1` or `f2` are not functions, the result is unspecified.
Otherwise the result is true if `f1` and the `f2` are physically equal,
false otherwise.</haxe_doc>
</compareMethods>
<haxe_doc>The Reflect API is a way to manipulate values dynamically through an
abstract interface in an untyped manner. Use with care.</haxe_doc>
<meta>
<m n=":keep"/>
<m n=":directlyUsed"/>
<m n=":coreApi"/>
</meta>
</class>
<class path="String" params="" file="/usr/lib/haxe/std/js/_std/String.hx" extern="1">
<fromCharCode public="1" set="method" static="1">
<f a="code">
<x path="Int"/>
<c path="String"/>
</f>
<haxe_doc>Returns the String corresponding to the character code `code`.
If `code` is negative or has another invalid value, the result is
unspecified.</haxe_doc>
</fromCharCode>
<length public="1" set="null">
<x path="Int"/>
<haxe_doc>The number of characters in `this` String.</haxe_doc>
</length>
<toUpperCase public="1" set="method">
<f a=""><c path="String"/></f>
<haxe_doc>Returns a String where all characters of `this` String are upper case.
Affects the characters `a-z`. Other characters remain unchanged.</haxe_doc>
</toUpperCase>
<toLowerCase public="1" set="method">
<f a=""><c path="String"/></f>
<haxe_doc>Returns a String where all characters of `this` String are lower case.
Affects the characters `A-Z`. Other characters remain unchanged.</haxe_doc>
</toLowerCase>
<charAt public="1" set="method">
<f a="index">
<x path="Int"/>
<c path="String"/>
</f>
<haxe_doc>Returns the character at position `index` of `this` String.
If `index` is negative or exceeds `this.length`, the empty String ""
is returned.</haxe_doc>
</charAt>
<indexOf public="1" set="method">
<f a="str:?startIndex">
<c path="String"/>
<x path="Int"/>
<x path="Int"/>
</f>
<haxe_doc>Returns the position of the leftmost occurence of `str` within `this`
String.
If `startIndex` is given, the search is performed within the substring
of `this` String starting from `startIndex`. Otherwise the search is
performed within `this` String. In either case, the returned position
is relative to the beginning of `this` String.
If `str` cannot be found, -1 is returned.</haxe_doc>
</indexOf>
<lastIndexOf public="1" set="method">
<f a="str:?startIndex">
<c path="String"/>
<x path="Int"/>
<x path="Int"/>
</f>
<haxe_doc>Returns the position of the rightmost occurence of `str` within `this`
String.
If `startIndex` is given, the search is performed within the substring
of `this` String from 0 to `startIndex`. Otherwise the search is
performed within `this` String. In either case, the returned position
is relative to the beginning of `this` String.
If `str` cannot be found, -1 is returned.</haxe_doc>
</lastIndexOf>
<split public="1" set="method">
<f a="delimiter">
<c path="String"/>
<c path="Array"><c path="String"/></c>
</f>
<haxe_doc>Splits `this` String at each occurence of `delimiter`.
If `this` String is the empty String "", the result is not consistent
across targets and may either be `[]` (on Js, Cpp) or `[""]`.
If `delimiter` is the empty String "", `this` String is split into an
Array of `this.length` elements, where the elements correspond to the
characters of `this` String.
If `delimiter` is not found within `this` String, the result is an Array
with one element, which equals `this` String.
If `delimiter` is null, the result is unspecified.
Otherwise, `this` String is split into parts at each occurence of
`delimiter`. If `this` String starts (or ends) with [delimiter}, the
result Array contains a leading (or trailing) empty String "" element.
Two subsequent delimiters also result in an empty String "" element.</haxe_doc>
</split>
<toString public="1" set="method">
<f a=""><c path="String"/></f>
<haxe_doc>Returns the String itself.</haxe_doc>
</toString>
<substring public="1" set="method">
<f a="startIndex:?endIndex">
<x path="Int"/>
<x path="Int"/>
<c path="String"/>
</f>
<haxe_doc>Returns the part of `this` String from `startIndex` to but not including `endIndex`.
If `startIndex` or `endIndex` are negative, 0 is used instead.
If `startIndex` exceeds `endIndex`, they are swapped.
If the (possibly swapped) `endIndex` is omitted or exceeds
`this.length`, `this.length` is used instead.
If the (possibly swapped) `startIndex` exceeds `this.length`, the empty
String "" is returned.</haxe_doc>
</substring>
<charCodeAt public="1" get="inline" set="null" line="35">
<f a="index">
<x path="Int"/>
<t path="Null"><x path="Int"/></t>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns the character code at position `index` of `this` String.
If `index` is negative or exceeds `this.length`, null is returned.
To obtain the character code of a single character, "x".code can be used
instead to inline the character code at compile time. Note that this
only works on String literals of length 1.</haxe_doc>
</charCodeAt>
<substr public="1" get="inline" set="null" line="39">
<f a="pos:?len">
<x path="Int"/>
<x path="Int"/>
<c path="String"/>
</f>
<meta><m n=":has_untyped"/></meta>
<haxe_doc>Returns `len` characters of `this` String, starting at position `pos`.
If `len` is omitted, all characters from position `pos` to the end of
`this` String are included.
If `pos` is negative, its value is calculated from the end of `this`
String by `this.length + pos`. If this yields a negative value, 0 is
used instead.
If the calculated position + `len` exceeds `this.length`, the characters
from that position to the end of `this` String are returned.
If `len` is negative, the result is unspecified.</haxe_doc>
</substr>
<new public="1" set="method">
<f a="string">
<c path="String"/>
<x path="Void"/>
</f>
<haxe_doc>Creates a copy from a given String.</haxe_doc>
</new>
<haxe_doc>The basic String class.
A haxe String is immutable, it is not possible to modify individual
characters. No method of this class changes the state of `this` String.
Strings can be constructed using the string literal syntax "string value".
String can be concatenated by using the + operator. If an operand is not a
String, it is passed through Std.string() first.</haxe_doc>
<meta>
<m n=":directlyUsed"/>
<m n=":coreApi"/>
</meta>
</class>
<class path="Std" params="" file="/usr/lib/haxe/std/js/_std/Std.hx">
<haxe_doc>The Std class provides standard methods for manipulating basic types.</haxe_doc>
<meta>
<m n=":keep"/>
<m n=":keepInit"/>
<m n=":coreApi"/>
</meta>
</class>
<abstract path="Void" params="" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<this><x path="Void"/></this>
<haxe_doc>The standard Void type. Only `null` values can be of the type `Void`.</haxe_doc>
<meta><m n=":coreType"/></meta>
</abstract>
<abstract path="Float" params="" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<this><x path="Float"/></this>
<haxe_doc><![CDATA[The standard Float type, this is a double-precision IEEE 64bit float.
On static targets, null cannot be assigned to Float. If this is necessary,
`Null<Float>` can be used instead.]]></haxe_doc>
<meta>
<m n=":coreType"/>
<m n=":notNull"/>
<m n=":runtimeValue"/>
</meta>
</abstract>
<abstract path="Int" params="" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<this><x path="Int"/></this>
<to><icast><x path="Float"/></icast></to>
<haxe_doc><![CDATA[The standard Int type. Its precision depends on the platform.
On static targets, null cannot be assigned to Int. If this is necessary,
`Null<Int>` can be used instead.]]></haxe_doc>
<meta>
<m n=":coreType"/>
<m n=":notNull"/>
<m n=":runtimeValue"/>
</meta>
</abstract>
<typedef path="Null" params="T" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<c path="Null.T"/>
<haxe_doc>`Null` can be useful in two cases. In order to document some methods
that accepts or can return a `null` value, or for the Flash compiler and AS3
generator to distinguish between base values that can be null and others that
can't.</haxe_doc>
</typedef>
<abstract path="Bool" params="" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<this><x path="Bool"/></this>
<haxe_doc><![CDATA[The standard Boolean type, which can either be true or false.
On static targets, null cannot be assigned to Bool. If this is necessary,
`Null<Bool>` can be used instead.]]></haxe_doc>
<meta>
<m n=":coreType"/>
<m n=":notNull"/>
<m n=":runtimeValue"/>
</meta>
</abstract>
<abstract path="Dynamic" params="T" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<this><x path="Dynamic"><c path="Dynamic.T"/></x></this>
<haxe_doc>Dynamic is a special type which is compatible with all other types.
Use of Dynamic should be minimized as it prevents several compiler
checks and optimizations.</haxe_doc>
<meta>
<m n=":valueUsed"/>
<m n=":coreType"/>
<m n=":runtimeValue"/>
</meta>
</abstract>
<typedef path="Iterator" params="T" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<a>
<next set="method">
<f a=""><c path="Iterator.T"/></f>
<haxe_doc>Returns the current item of the Iterator and advances to the next one.
This method is not required to check `hasNext` first. A call to this
method while `hasNext` is false yields unspecified behavior.
On the other hand iterators should not require a call to `hasNext`
before the first call to `next` if an element is available.</haxe_doc>
</next>
<hasNext set="method">
<f a=""><x path="Bool"/></f>
<haxe_doc>Returns false if the iteration is complete, true otherwise.
Usually iteration is considered to be complete if all elements of the
underlying data structure were handled through calls to next(). However,
in custom iterators any logic may be used to determine the completion
state.</haxe_doc>
</hasNext>
</a>
<haxe_doc>An Iterator is a structure that permits iteration over elements of type T.
Any class with matching hasNext and next fields is considered an Iterator
and can then be used e.g. in for-loops. This makes it easy to implement
custom iterators.</haxe_doc>
</typedef>
<typedef path="Iterable" params="T" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes">
<a><iterator set="method"><f a=""><t path="Iterator"><c path="Iterable.T"/></t></f></iterator></a>
<haxe_doc>An Iterable is a data structure which has an iterator() method.
See `Lambda` for generic functions on iterable structures.</haxe_doc>
</typedef>
<class path="ArrayAccess" params="T" file="/usr/lib/haxe/std/StdTypes.hx" module="StdTypes" extern="1" interface="1"><haxe_doc>ArrayAccess is used to indicate a class that can be accessed using brackets.
The type parameter represents the type of the elements stored.</haxe_doc></class>
<abstract path="UInt" params="" file="/usr/lib/haxe/std/UInt.hx">
<from><icast><x path="Int"/></icast></from>
<this><x path="Int"/></this>
<to>
<icast><x path="Int"/></icast>
<icast field="toFloat"><x path="Float"/></icast>
</to>
<haxe_doc>The unsigned Int type is only defined for Flash and C#.
Simulate it for other platforms.</haxe_doc>
<impl><class path="_UInt.UInt_Impl_" params="" file="/usr/lib/haxe/std/UInt.hx" private="1" module="UInt"><meta><m n=":keep"/></meta></class></impl>
</abstract>
<class path="pixi.interaction.EventEmitter" params="" file="pixi/interaction/EventEmitter.hx" extern="1">
<listeners public="1" set="method">
<f a="event">
<c path="String"/>
<c path="Array"><d/></c>
</f>
<haxe_doc>* Return a list of assigned event listeners.
*
* @param {String} eventName
* @returns {Array}</haxe_doc>
</listeners>
<emit public="1" set="method">
<f a="event:?a1:?a2:?a3:?a4:?a5">
<c path="String"/>
<d/>
<d/>
<d/>
<d/>
<d/>
<x path="Bool"/>
</f>
<haxe_doc>* Emit an event to all registered event listeners.
*
* @alias dispatchEvent
* @param eventName {String} The name of the event.
* @return {Bool} Indication if we've emitted an event.</haxe_doc>
</emit>
<on public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a="">
<t path="pixi.interaction.EventTarget"/>
<x path="Void"/>
</f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Register a new EventListener for the given event.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
<overloads>
<on public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a=""><x path="Void"/></f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Register a new EventListener for the given event.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
</on>
<on public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a="">
<d/>
<x path="Void"/>
</f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Register a new EventListener for the given event.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
</on>
</overloads>
</on>
<once public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a="">
<t path="pixi.interaction.EventTarget"/>
<x path="Void"/>
</f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Add an EventListener that's only called once.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
<overloads>
<once public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a=""><x path="Void"/></f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Add an EventListener that's only called once.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
</once>
<once public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a="">
<d/>
<x path="Void"/>
</f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Add an EventListener that's only called once.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
</once>
</overloads>
</once>
<addListener public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a="">
<t path="pixi.interaction.EventTarget"/>
<x path="Void"/>
</f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Register a new EventListener for the given event.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
<overloads>
<addListener public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a=""><x path="Void"/></f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Register a new EventListener for the given event.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
</addListener>
<addListener public="1" set="method">
<f a="event:fn:?context">
<c path="String"/>
<f a="">
<d/>
<x path="Void"/>
</f>
<d/>
<x path="Void"/>
</f>
<haxe_doc>* Register a new EventListener for the given event.
*
* @param {String} event Name of the event.
* @param {function} fn Callback function.
* @param {Mixed} context The context of the function.</haxe_doc>
</addListener>
</overloads>
</addListener>
<off public="1" set="method">
<f a="event:fn:?once">
<c path="String"/>
<f a="">
<t path="pixi.interaction.EventTarget"/>
<x path="Void"/>
</f>
<x path="Bool"/>
<x path="Void"/>
</f>
<haxe_doc>* Remove event listeners.
*
* @param {String} event The event we want to remove.
* @param {function} fn The listener that we need to find.
* @param {Bool} once Only remove once listeners.</haxe_doc>
<overloads>
<off public="1" set="method">
<f a="event:fn:?once">
<c path="String"/>
<f a=""><x path="Void"/></f>
<x path="Bool"/>
<x path="Void"/>
</f>
<haxe_doc>* Remove event listeners.
*
* @param {String} event The event we want to remove.
* @param {function} fn The listener that we need to find.
* @param {Bool} once Only remove once listeners.</haxe_doc>
</off>
<off public="1" set="method">
<f a="event:fn:?once">
<c path="String"/>
<f a="">
<d/>
<x path="Void"/>
</f>
<x path="Bool"/>
<x path="Void"/>
</f>
<haxe_doc>* Remove event listeners.
*
* @param {String} event The event we want to remove.
* @param {function} fn The listener that we need to find.
* @param {Bool} once Only remove once listeners.</haxe_doc>
</off>
</overloads>
</off>
<removeListener public="1" set="method">
<f a="event:fn:?once">
<c path="String"/>
<f a="">
<t path="pixi.interaction.EventTarget"/>
<x path="Void"/>
</f>
<x path="Bool"/>
<x path="Void"/>
</f>
<haxe_doc>* Remove event listeners.
*
* @param {String} event The event we want to remove.
* @param {function} fn The listener that we need to find.
* @param {Bool} once Only remove once listeners.</haxe_doc>
<overloads>
<removeListener public="1" set="method">
<f a="event:fn:?once">
<c path="String"/>
<f a=""><x path="Void"/></f>
<x path="Bool"/>
<x path="Void"/>
</f>
<haxe_doc>* Remove event listeners.
*
* @param {String} event The event we want to remove.
* @param {function} fn The listener that we need to find.
* @param {Bool} once Only remove once listeners.</haxe_doc>
</removeListener>