@swf2es/player 0.1.0 → 0.1.1
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.
- package/package.json +7 -7
- package/dist/audio.d.ts +0 -22
- package/dist/audio.d.ts.map +0 -1
- package/dist/audio.js +0 -106
- package/dist/audio.js.map +0 -1
- package/dist/bitmap-filters.d.ts +0 -29
- package/dist/bitmap-filters.d.ts.map +0 -1
- package/dist/bitmap-filters.js +0 -906
- package/dist/bitmap-filters.js.map +0 -1
- package/dist/bitmap-ops.d.ts +0 -113
- package/dist/bitmap-ops.d.ts.map +0 -1
- package/dist/bitmap-ops.js +0 -725
- package/dist/bitmap-ops.js.map +0 -1
- package/dist/bitmap.d.ts +0 -98
- package/dist/bitmap.d.ts.map +0 -1
- package/dist/bitmap.js +0 -314
- package/dist/bitmap.js.map +0 -1
- package/dist/bounds.d.ts +0 -26
- package/dist/bounds.d.ts.map +0 -1
- package/dist/bounds.js +0 -300
- package/dist/bounds.js.map +0 -1
- package/dist/color.d.ts +0 -7
- package/dist/color.d.ts.map +0 -1
- package/dist/color.js +0 -42
- package/dist/color.js.map +0 -1
- package/dist/display.d.ts +0 -425
- package/dist/display.d.ts.map +0 -1
- package/dist/display.js +0 -1274
- package/dist/display.js.map +0 -1
- package/dist/drawing.d.ts +0 -52
- package/dist/drawing.d.ts.map +0 -1
- package/dist/drawing.js +0 -204
- package/dist/drawing.js.map +0 -1
- package/dist/filters.d.ts +0 -54
- package/dist/filters.d.ts.map +0 -1
- package/dist/filters.js +0 -155
- package/dist/filters.js.map +0 -1
- package/dist/fonts.d.ts +0 -23
- package/dist/fonts.d.ts.map +0 -1
- package/dist/fonts.js +0 -91
- package/dist/fonts.js.map +0 -1
- package/dist/geometry.d.ts +0 -21
- package/dist/geometry.d.ts.map +0 -1
- package/dist/geometry.js +0 -76
- package/dist/geometry.js.map +0 -1
- package/dist/gradients.d.ts +0 -29
- package/dist/gradients.d.ts.map +0 -1
- package/dist/gradients.js +0 -116
- package/dist/gradients.js.map +0 -1
- package/dist/images.d.ts +0 -22
- package/dist/images.d.ts.map +0 -1
- package/dist/images.js +0 -147
- package/dist/images.js.map +0 -1
- package/dist/input.d.ts +0 -79
- package/dist/input.d.ts.map +0 -1
- package/dist/input.js +0 -366
- package/dist/input.js.map +0 -1
- package/dist/keyboard.d.ts +0 -97
- package/dist/keyboard.d.ts.map +0 -1
- package/dist/keyboard.js +0 -583
- package/dist/keyboard.js.map +0 -1
- package/dist/morph.d.ts +0 -17
- package/dist/morph.d.ts.map +0 -1
- package/dist/morph.js +0 -218
- package/dist/morph.js.map +0 -1
- package/dist/pixi-blend.d.ts +0 -7
- package/dist/pixi-blend.d.ts.map +0 -1
- package/dist/pixi-blend.js +0 -253
- package/dist/pixi-blend.js.map +0 -1
- package/dist/pixi-color.d.ts +0 -54
- package/dist/pixi-color.d.ts.map +0 -1
- package/dist/pixi-color.js +0 -336
- package/dist/pixi-color.js.map +0 -1
- package/dist/pixi-filters.d.ts +0 -40
- package/dist/pixi-filters.d.ts.map +0 -1
- package/dist/pixi-filters.js +0 -953
- package/dist/pixi-filters.js.map +0 -1
- package/dist/pixi-resolve.d.ts +0 -4
- package/dist/pixi-resolve.d.ts.map +0 -1
- package/dist/pixi-resolve.js +0 -76
- package/dist/pixi-resolve.js.map +0 -1
- package/dist/pixi.d.ts +0 -219
- package/dist/pixi.d.ts.map +0 -1
- package/dist/pixi.js +0 -2169
- package/dist/pixi.js.map +0 -1
- package/dist/playerglobal/flash/filters/filters.d.ts +0 -26
- package/dist/playerglobal/flash/filters/filters.d.ts.map +0 -1
- package/dist/playerglobal/flash/filters/filters.js +0 -287
- package/dist/playerglobal/flash/filters/filters.js.map +0 -1
- package/dist/playerglobal/flash/system/FSCommand.d.ts +0 -4
- package/dist/playerglobal/flash/system/FSCommand.d.ts.map +0 -1
- package/dist/playerglobal/flash/system/FSCommand.js +0 -18
- package/dist/playerglobal/flash/system/FSCommand.js.map +0 -1
- package/dist/playerglobal/natives.d.ts +0 -10
- package/dist/playerglobal/natives.d.ts.map +0 -1
- package/dist/playerglobal/natives.js +0 -53
- package/dist/playerglobal/natives.js.map +0 -1
- package/dist/png.d.ts +0 -4
- package/dist/png.d.ts.map +0 -1
- package/dist/png.js +0 -140
- package/dist/png.js.map +0 -1
- package/dist/render/art.d.ts +0 -148
- package/dist/render/art.d.ts.map +0 -1
- package/dist/render/art.js +0 -575
- package/dist/render/art.js.map +0 -1
- package/dist/render/batchers.d.ts +0 -23
- package/dist/render/batchers.d.ts.map +0 -1
- package/dist/render/batchers.js +0 -52
- package/dist/render/batchers.js.map +0 -1
- package/dist/render/bitmaps.d.ts +0 -117
- package/dist/render/bitmaps.d.ts.map +0 -1
- package/dist/render/bitmaps.js +0 -422
- package/dist/render/bitmaps.js.map +0 -1
- package/dist/render/blend.d.ts +0 -37
- package/dist/render/blend.d.ts.map +0 -1
- package/dist/render/blend.js +0 -195
- package/dist/render/blend.js.map +0 -1
- package/dist/render/color.d.ts +0 -111
- package/dist/render/color.d.ts.map +0 -1
- package/dist/render/color.js +0 -533
- package/dist/render/color.js.map +0 -1
- package/dist/render/compositing.d.ts +0 -77
- package/dist/render/compositing.d.ts.map +0 -1
- package/dist/render/compositing.js +0 -188
- package/dist/render/compositing.js.map +0 -1
- package/dist/render/filters.d.ts +0 -98
- package/dist/render/filters.d.ts.map +0 -1
- package/dist/render/filters.js +0 -1326
- package/dist/render/filters.js.map +0 -1
- package/dist/render/hooks.d.ts +0 -4
- package/dist/render/hooks.d.ts.map +0 -1
- package/dist/render/hooks.js +0 -48
- package/dist/render/hooks.js.map +0 -1
- package/dist/render/node.d.ts +0 -139
- package/dist/render/node.d.ts.map +0 -1
- package/dist/render/node.js +0 -59
- package/dist/render/node.js.map +0 -1
- package/dist/render/patches.d.ts +0 -54
- package/dist/render/patches.d.ts.map +0 -1
- package/dist/render/patches.js +0 -154
- package/dist/render/patches.js.map +0 -1
- package/dist/render/planes.d.ts +0 -74
- package/dist/render/planes.d.ts.map +0 -1
- package/dist/render/planes.js +0 -267
- package/dist/render/planes.js.map +0 -1
- package/dist/render/pointer.d.ts +0 -5
- package/dist/render/pointer.d.ts.map +0 -1
- package/dist/render/pointer.js +0 -279
- package/dist/render/pointer.js.map +0 -1
- package/dist/render/pools.d.ts +0 -122
- package/dist/render/pools.d.ts.map +0 -1
- package/dist/render/pools.js +0 -238
- package/dist/render/pools.js.map +0 -1
- package/dist/render/resolve.d.ts +0 -4
- package/dist/render/resolve.d.ts.map +0 -1
- package/dist/render/resolve.js +0 -76
- package/dist/render/resolve.js.map +0 -1
- package/dist/render/saffron.d.ts +0 -135
- package/dist/render/saffron.d.ts.map +0 -1
- package/dist/render/saffron.js +0 -725
- package/dist/render/saffron.js.map +0 -1
- package/dist/render/settle.d.ts +0 -60
- package/dist/render/settle.d.ts.map +0 -1
- package/dist/render/settle.js +0 -128
- package/dist/render/settle.js.map +0 -1
- package/dist/render/shared.d.ts +0 -25
- package/dist/render/shared.d.ts.map +0 -1
- package/dist/render/shared.js +0 -33
- package/dist/render/shared.js.map +0 -1
- package/dist/render/snapshot.d.ts +0 -21
- package/dist/render/snapshot.d.ts.map +0 -1
- package/dist/render/snapshot.js +0 -91
- package/dist/render/snapshot.js.map +0 -1
- package/dist/render/spares.d.ts +0 -56
- package/dist/render/spares.d.ts.map +0 -1
- package/dist/render/spares.js +0 -160
- package/dist/render/spares.js.map +0 -1
- package/dist/render/strokes.d.ts +0 -107
- package/dist/render/strokes.d.ts.map +0 -1
- package/dist/render/strokes.js +0 -448
- package/dist/render/strokes.js.map +0 -1
- package/dist/render/table.d.ts +0 -213
- package/dist/render/table.d.ts.map +0 -1
- package/dist/render/table.js +0 -795
- package/dist/render/table.js.map +0 -1
- package/dist/render/tessellate.d.ts +0 -89
- package/dist/render/tessellate.d.ts.map +0 -1
- package/dist/render/tessellate.js +0 -386
- package/dist/render/tessellate.js.map +0 -1
- package/dist/render/text.d.ts +0 -40
- package/dist/render/text.d.ts.map +0 -1
- package/dist/render/text.js +0 -309
- package/dist/render/text.js.map +0 -1
- package/dist/render/three.d.ts +0 -83
- package/dist/render/three.d.ts.map +0 -1
- package/dist/render/three.js +0 -511
- package/dist/render/three.js.map +0 -1
- package/dist/render/triangles.d.ts +0 -28
- package/dist/render/triangles.d.ts.map +0 -1
- package/dist/render/triangles.js +0 -189
- package/dist/render/triangles.js.map +0 -1
- package/dist/render/view.d.ts +0 -238
- package/dist/render/view.d.ts.map +0 -1
- package/dist/render/view.js +0 -1173
- package/dist/render/view.js.map +0 -1
- package/dist/render/worker/bitmaps.d.ts +0 -43
- package/dist/render/worker/bitmaps.d.ts.map +0 -1
- package/dist/render/worker/bitmaps.js +0 -151
- package/dist/render/worker/bitmaps.js.map +0 -1
- package/dist/render/worker/drawing.d.ts +0 -21
- package/dist/render/worker/drawing.d.ts.map +0 -1
- package/dist/render/worker/drawing.js +0 -356
- package/dist/render/worker/drawing.js.map +0 -1
- package/dist/render/worker/filters.d.ts +0 -7
- package/dist/render/worker/filters.d.ts.map +0 -1
- package/dist/render/worker/filters.js +0 -125
- package/dist/render/worker/filters.js.map +0 -1
- package/dist/render/worker/frames.d.ts +0 -32
- package/dist/render/worker/frames.d.ts.map +0 -1
- package/dist/render/worker/frames.js +0 -124
- package/dist/render/worker/frames.js.map +0 -1
- package/dist/render/worker/host.d.ts +0 -60
- package/dist/render/worker/host.d.ts.map +0 -1
- package/dist/render/worker/host.js +0 -297
- package/dist/render/worker/host.js.map +0 -1
- package/dist/render/worker/libraries.d.ts +0 -36
- package/dist/render/worker/libraries.d.ts.map +0 -1
- package/dist/render/worker/libraries.js +0 -153
- package/dist/render/worker/libraries.js.map +0 -1
- package/dist/render/worker/presentation.d.ts +0 -18
- package/dist/render/worker/presentation.d.ts.map +0 -1
- package/dist/render/worker/presentation.js +0 -47
- package/dist/render/worker/presentation.js.map +0 -1
- package/dist/render/worker/renderer.d.ts +0 -4
- package/dist/render/worker/renderer.d.ts.map +0 -1
- package/dist/render/worker/renderer.js +0 -21
- package/dist/render/worker/renderer.js.map +0 -1
- package/dist/render/worker/scene.d.ts +0 -32
- package/dist/render/worker/scene.d.ts.map +0 -1
- package/dist/render/worker/scene.js +0 -611
- package/dist/render/worker/scene.js.map +0 -1
- package/dist/render/worker/text.d.ts +0 -47
- package/dist/render/worker/text.d.ts.map +0 -1
- package/dist/render/worker/text.js +0 -261
- package/dist/render/worker/text.js.map +0 -1
- package/dist/render/worker/thread.d.ts +0 -23
- package/dist/render/worker/thread.d.ts.map +0 -1
- package/dist/render/worker/thread.js +0 -107
- package/dist/render/worker/thread.js.map +0 -1
- package/dist/render/worker/values.d.ts +0 -18
- package/dist/render/worker/values.d.ts.map +0 -1
- package/dist/render/worker/values.js +0 -64
- package/dist/render/worker/values.js.map +0 -1
- package/dist/sha256.d.ts +0 -5
- package/dist/sha256.d.ts.map +0 -1
- package/dist/sha256.js +0 -96
- package/dist/sha256.js.map +0 -1
- package/dist/shapes.d.ts +0 -71
- package/dist/shapes.d.ts.map +0 -1
- package/dist/shapes.js +0 -340
- package/dist/shapes.js.map +0 -1
- package/dist/static-text.d.ts +0 -33
- package/dist/static-text.d.ts.map +0 -1
- package/dist/static-text.js +0 -105
- package/dist/static-text.js.map +0 -1
- package/dist/text-layout.d.ts +0 -66
- package/dist/text-layout.d.ts.map +0 -1
- package/dist/text-layout.js +0 -315
- package/dist/text-layout.js.map +0 -1
- package/dist/text.d.ts +0 -67
- package/dist/text.d.ts.map +0 -1
- package/dist/text.js +0 -383
- package/dist/text.js.map +0 -1
- package/dist/timeline.d.ts +0 -150
- package/dist/timeline.d.ts.map +0 -1
- package/dist/timeline.js +0 -266
- package/dist/timeline.js.map +0 -1
package/dist/display.d.ts
DELETED
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
import { type ColorTransform, type Matrix, type Place } from "@swf2es/format";
|
|
2
|
-
import type { avm2 } from "@swf2es/runtime";
|
|
3
|
-
import { BitmapStore } from "./bitmap.js";
|
|
4
|
-
import type { Drawing } from "./drawing.js";
|
|
5
|
-
import { type Filter } from "./filters.js";
|
|
6
|
-
import type { FontSet } from "./fonts.js";
|
|
7
|
-
import { type Rect } from "./geometry.js";
|
|
8
|
-
import { type PlacedGlyph } from "./static-text.js";
|
|
9
|
-
import { TextModel } from "./text.js";
|
|
10
|
-
import { type TextLayout } from "./text-layout.js";
|
|
11
|
-
import { type BitmapCharacter, type ButtonCharacter, type Character, type DisplayCharacter, type Library, type MorphCharacter, type ShapeCharacter, type StaticTextCharacter, type TextCharacter, type Timeline } from "./timeline.js";
|
|
12
|
-
/** Nothing changed since the renderer last looked, or what did. */
|
|
13
|
-
export declare const CLEAN = 0;
|
|
14
|
-
export declare const TRANSFORM = 1;
|
|
15
|
-
export declare const CHILDREN = 2;
|
|
16
|
-
export declare const CONTENT = 4;
|
|
17
|
-
/** A Bitmap's pixels changed in place: the texture uploads again, nothing is rebuilt. */
|
|
18
|
-
export declare const PIXELS = 8;
|
|
19
|
-
/** The blend modes by the number PlaceObject3 gives them: 0 and 1 are normal. */
|
|
20
|
-
export declare const BLEND_MODES: string[];
|
|
21
|
-
/** Degrees into Flash's range, -180 to 180 with both ends kept as given; a NaN stays NaN. */
|
|
22
|
-
export declare function normalizeDegrees(degrees: number): number;
|
|
23
|
-
export declare class DisplayObject {
|
|
24
|
-
readonly serial: number;
|
|
25
|
-
parent: Container | null;
|
|
26
|
-
/** The timeline depth it was placed at, or null for one a script added. */
|
|
27
|
-
depth: number | null;
|
|
28
|
-
/** The frame of its parent's timeline that placed it, 1 the first; 0 for one a script added. */
|
|
29
|
-
placeFrame: number;
|
|
30
|
-
/**
|
|
31
|
-
* The ratio its placements gave, 0 for none: a rewind keeps the child
|
|
32
|
-
* only where the frames replayed give it the same (gotoFrame).
|
|
33
|
-
*/
|
|
34
|
-
ratio: number;
|
|
35
|
-
name: string;
|
|
36
|
-
/** Whether its name is one the timeline gave it, which its parent has a property of; not a default instanceN. */
|
|
37
|
-
timelineNamed: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Its transform in its parent, translation in pixels: made from the
|
|
40
|
-
* scales, rotation and skew below, which are the object's own, as Flash
|
|
41
|
-
* keeps them apart from the matrix; set whole, it is taken apart into them.
|
|
42
|
-
*/
|
|
43
|
-
matrix: Matrix;
|
|
44
|
-
scaleX: number;
|
|
45
|
-
scaleY: number;
|
|
46
|
-
/** In degrees, -180 to 180, as Flash reports it. */
|
|
47
|
-
rotation: number;
|
|
48
|
-
/** The second column's turn beyond the first's, in degrees: 0 but for a matrix that skews. */
|
|
49
|
-
skew: number;
|
|
50
|
-
colorTransform: ColorTransform | null;
|
|
51
|
-
visible: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Where it has the keyboard's focus, how to drop it: Flash takes focus
|
|
54
|
-
* from an object taken off its parent or hidden (keyboard.ts).
|
|
55
|
-
*/
|
|
56
|
-
focusDrop: ((d: DisplayObject) => void) | null;
|
|
57
|
-
/** The character it was made from, or null. */
|
|
58
|
-
character: Character | null;
|
|
59
|
-
/** Whether a script set a property of it; from then on the timeline swaps no shape under it, as Flash's does not. */
|
|
60
|
-
scripted: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Whether a script set its transform or another property a place gives:
|
|
63
|
-
* from then on the timeline's places, moves and a rewind's alike, leave
|
|
64
|
-
* its matrix, colour, ratio, visibility, blend mode and filters as they
|
|
65
|
-
* are, all of them whichever was set, as Flash's do (`scripted-moves`).
|
|
66
|
-
* Setting visible, mask or cacheAsBitmap is no such touch.
|
|
67
|
-
*/
|
|
68
|
-
transformed: boolean;
|
|
69
|
-
/** Its other face, the AS3 object a script sees; null in an AVM1 movie. */
|
|
70
|
-
object: avm2.AsObject | null;
|
|
71
|
-
/** The root of an AVM1 movie an AS3 Loader loaded: its other face, an AVM1Movie, is no InteractiveObject. */
|
|
72
|
-
avm1Root: boolean;
|
|
73
|
-
/** The LoaderInfo of the SWF this is the root of: set on the main root and on each loaded SWF's; null below. */
|
|
74
|
-
loaderInfo: avm2.AsObject | null;
|
|
75
|
-
/** What its Graphics drew, for a Shape or Sprite a script draws in; null until one does. */
|
|
76
|
-
drawing: Drawing | null;
|
|
77
|
-
/** What changed since the renderer last synced it: TRANSFORM, CHILDREN, CONTENT. */
|
|
78
|
-
dirty: number;
|
|
79
|
-
/** This object, weakly, as a store it shows or fills with holds it. */
|
|
80
|
-
readonly ref: WeakRef<this>;
|
|
81
|
-
/**
|
|
82
|
-
* The last depth this clips, as a timeline's mask, or 0: a mask is not
|
|
83
|
-
* drawn, and clips the children after it until one placed deeper.
|
|
84
|
-
*/
|
|
85
|
-
clipDepth: number;
|
|
86
|
-
/** The object `mask` set clips this one to; and the one it clips, for such a mask. */
|
|
87
|
-
mask: DisplayObject | null;
|
|
88
|
-
maskOf: DisplayObject | null;
|
|
89
|
-
/**
|
|
90
|
-
* scrollRect as set, its edges whole pixels, and as the last render took
|
|
91
|
-
* it, which the drawing, bounds and points go by: Flash's takes effect
|
|
92
|
-
* when it next draws.
|
|
93
|
-
*/
|
|
94
|
-
scrollRect: Rect | null;
|
|
95
|
-
scroll: Rect | null;
|
|
96
|
-
/** Its blend mode, as BlendMode names it. */
|
|
97
|
-
blendMode: string;
|
|
98
|
-
/** Its filters' values, which its `filters` reads copies of. */
|
|
99
|
-
filters: readonly Filter[];
|
|
100
|
-
/** A store it shows or fills with changed its pixels, or was disposed. */
|
|
101
|
-
pixelsChanged(disposed: boolean): void;
|
|
102
|
-
/** Mark a change, and that its ancestors have a changed descendant. */
|
|
103
|
-
invalidate(what: number): void;
|
|
104
|
-
/** Its matrix after its scroll's shift: from what it draws to its parent's space. */
|
|
105
|
-
get placed(): Matrix;
|
|
106
|
-
/** Whether `o` is this or under it. */
|
|
107
|
-
encloses(o: DisplayObject): boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Clip this to `mask`'s fills, or to nothing for null. A mask clips one
|
|
110
|
-
* object: set on another it leaves the one before, as Flash's does.
|
|
111
|
-
*/
|
|
112
|
-
setMask(mask: DisplayObject | null): void;
|
|
113
|
-
/** A script set a property a place gives (`transformed`), which is also a touch (`scripted`). */
|
|
114
|
-
touch(): void;
|
|
115
|
-
/**
|
|
116
|
-
* The matrix set whole, and taken apart: the scales are its columns'
|
|
117
|
-
* lengths, the rotation the first column's angle, the skew the second's
|
|
118
|
-
* beyond that. A negative scale set as such is not recovered: a half
|
|
119
|
-
* turn is what the matrix says.
|
|
120
|
-
*/
|
|
121
|
-
setMatrix(m: Matrix): void;
|
|
122
|
-
/**
|
|
123
|
-
* A scale set stretches its column of the matrix in proportion, so the
|
|
124
|
-
* other column stays exactly as it was, as Flash's does (the corpus's
|
|
125
|
-
* `displayobject_invalid_floats`); from a scale of 0 or NaN, where there
|
|
126
|
-
* is no proportion, the column is made anew from the angles. A NaN is
|
|
127
|
-
* reported back as set, as Flash reports it: a NaN scale zeroes its
|
|
128
|
-
* column, a NaN rotation leaves the matrix as it was and counts as none
|
|
129
|
-
* from then on.
|
|
130
|
-
*/
|
|
131
|
-
setScaleX(v: number): void;
|
|
132
|
-
setScaleY(v: number): void;
|
|
133
|
-
setRotation(degrees: number): void;
|
|
134
|
-
private remake;
|
|
135
|
-
/** Apply a place's transform, colour, name and visibility; to one a script transformed, its name and clip depth only. */
|
|
136
|
-
applyPlace(place: Place): void;
|
|
137
|
-
/** What a place sets that few do: a clip depth, a blend mode, filters. */
|
|
138
|
-
private applyRare;
|
|
139
|
-
/** How it is composited with what is below it (BLEND_MODES). */
|
|
140
|
-
setBlendMode(mode: string): void;
|
|
141
|
-
}
|
|
142
|
-
export declare class ShapeObject extends DisplayObject {
|
|
143
|
-
/** The shape it draws, or last drew; null for a Shape a script made, which draws nothing yet. */
|
|
144
|
-
shape: ShapeCharacter | null;
|
|
145
|
-
/** A MorphShape's morph, which `shape` is a blend of. */
|
|
146
|
-
morph: MorphCharacter | null;
|
|
147
|
-
/**
|
|
148
|
-
* The blend drawn() last made, and its morph and ratio: it stands while
|
|
149
|
-
* `shape` is still it, which a swap to a shape is not.
|
|
150
|
-
*/
|
|
151
|
-
private blended;
|
|
152
|
-
constructor(shape: ShapeCharacter | null);
|
|
153
|
-
/** A MorphShape, its morph's start until it is drawn at another ratio. */
|
|
154
|
-
static ofMorph(morph: MorphCharacter): ShapeObject;
|
|
155
|
-
/**
|
|
156
|
-
* A MorphShape takes on a new ratio when it is next drawn (drawn): until
|
|
157
|
-
* then its bounds and hit tests are the last drawn blend's, as Flash's
|
|
158
|
-
* are (the corpus's hittest_morph).
|
|
159
|
-
*/
|
|
160
|
-
applyPlace(place: Place): void;
|
|
161
|
-
/** The shape to draw now: a MorphShape's blend at its ratio, which it keeps from here. */
|
|
162
|
-
drawn(): ShapeCharacter | null;
|
|
163
|
-
}
|
|
164
|
-
/** A StaticText: DefineText's glyphs, which only a timeline places; its bounds the tag's. */
|
|
165
|
-
export declare class StaticTextObject extends DisplayObject {
|
|
166
|
-
readonly definition: StaticTextCharacter;
|
|
167
|
-
private readonly characters;
|
|
168
|
-
private laidGlyphs;
|
|
169
|
-
constructor(definition: StaticTextCharacter, characters: Map<number, Character>);
|
|
170
|
-
/**
|
|
171
|
-
* Its glyphs as placed, and its text, found the first time they are
|
|
172
|
-
* asked for: by then its SWF's fonts are all read, those defined after it
|
|
173
|
-
* too.
|
|
174
|
-
*/
|
|
175
|
-
get glyphs(): {
|
|
176
|
-
glyphs: PlacedGlyph[];
|
|
177
|
-
text: string | null;
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* A TextField: placed by DefineEditText, or made by a script. Its text and
|
|
182
|
-
* formats are a TextModel; a timeline's starts with its tag's text, read
|
|
183
|
-
* as HTML if the tag says so, in the format the tag gives.
|
|
184
|
-
*/
|
|
185
|
-
export declare class TextObject extends DisplayObject {
|
|
186
|
-
readonly definition: TextCharacter | null;
|
|
187
|
-
readonly model: TextModel;
|
|
188
|
-
/** The embedded fonts its text may be in: its SWF's. */
|
|
189
|
-
fonts: FontSet | null;
|
|
190
|
-
private laid;
|
|
191
|
-
/** The field's rectangle, in its own pixels: from (left, top), width by height. */
|
|
192
|
-
left: number;
|
|
193
|
-
top: number;
|
|
194
|
-
width: number;
|
|
195
|
-
height: number;
|
|
196
|
-
border: boolean;
|
|
197
|
-
borderColor: number;
|
|
198
|
-
background: boolean;
|
|
199
|
-
backgroundColor: number;
|
|
200
|
-
multiline: boolean;
|
|
201
|
-
wordWrap: boolean;
|
|
202
|
-
type: string;
|
|
203
|
-
embedFonts: boolean;
|
|
204
|
-
autoSize: string;
|
|
205
|
-
selectable: boolean;
|
|
206
|
-
maxChars: number;
|
|
207
|
-
displayAsPassword: boolean;
|
|
208
|
-
condenseWhite: boolean;
|
|
209
|
-
antiAliasType: string;
|
|
210
|
-
gridFitType: string;
|
|
211
|
-
sharpness: number;
|
|
212
|
-
thickness: number;
|
|
213
|
-
restrict: string | null;
|
|
214
|
-
mouseWheelEnabled: boolean;
|
|
215
|
-
alwaysShowSelection: boolean;
|
|
216
|
-
useRichTextClipboard: boolean;
|
|
217
|
-
scrollH: number;
|
|
218
|
-
scrollV: number;
|
|
219
|
-
/** The selection, from the end it was started at to the caret, as text indices; empty, a caret alone. */
|
|
220
|
-
private anchorAt;
|
|
221
|
-
private caretAt;
|
|
222
|
-
/** Whether it has the keyboard's focus, an input field then showing its caret. */
|
|
223
|
-
focused: boolean;
|
|
224
|
-
constructor(definition: TextCharacter | null, initialText?: boolean);
|
|
225
|
-
/** Its text laid out, as of now: made again only when the text, its formats or the field changed. */
|
|
226
|
-
get layout(): TextLayout;
|
|
227
|
-
/**
|
|
228
|
-
* Fit the field to its text, as autoSize does: its height to the text's
|
|
229
|
-
* and the gutters, and its width too unless it wraps, keeping its left,
|
|
230
|
-
* centre or right edge where it was.
|
|
231
|
-
*/
|
|
232
|
-
fit(): void;
|
|
233
|
-
/** The text, \r between its lines. */
|
|
234
|
-
get text(): string;
|
|
235
|
-
/** The alignment of its first paragraph. */
|
|
236
|
-
get align(): string;
|
|
237
|
-
/** The end the selection was started at, within the text as it is now, which a script may have shortened. */
|
|
238
|
-
get anchor(): number;
|
|
239
|
-
/** The caret, within the text as it is now. */
|
|
240
|
-
get caret(): number;
|
|
241
|
-
/** The selection's first and last index, in order. */
|
|
242
|
-
get selection(): [number, number];
|
|
243
|
-
/** Select from `anchor` to `caret`, each kept within the text; a focused field shows its caret there. */
|
|
244
|
-
select(anchor: number, caret: number): void;
|
|
245
|
-
}
|
|
246
|
-
/** A Bitmap: a display object that shows a BitmapData's pixels, its bounds the data's size. */
|
|
247
|
-
export declare class BitmapObject extends DisplayObject {
|
|
248
|
-
private shown;
|
|
249
|
-
smoothing: boolean;
|
|
250
|
-
pixelSnapping: string;
|
|
251
|
-
/** The SWF's bitmap it shows a copy of, placed by a timeline or made by its class; null for one a script made. */
|
|
252
|
-
character: BitmapCharacter | null;
|
|
253
|
-
/** PlaceObject3's HasImage where a timeline placed it: Flash then takes a bound class for its data's. */
|
|
254
|
-
hasImage: boolean;
|
|
255
|
-
constructor(store: BitmapStore | null);
|
|
256
|
-
/** The store shown; the object watches it, so a pixel set marks the object for the renderer. */
|
|
257
|
-
get store(): BitmapStore | null;
|
|
258
|
-
set store(store: BitmapStore | null);
|
|
259
|
-
}
|
|
260
|
-
export declare class Container extends DisplayObject {
|
|
261
|
-
/** The library whose timeline this is, for what it tells of children going; a script's container has none. */
|
|
262
|
-
library: Library | null;
|
|
263
|
-
/** Its children in render order: index 0 is drawn first, below the rest. */
|
|
264
|
-
readonly children: DisplayObject[];
|
|
265
|
-
/** The children the timeline placed, by depth. */
|
|
266
|
-
readonly depths: Map<number, DisplayObject>;
|
|
267
|
-
/** Whether a descendant changed since the renderer last synced. */
|
|
268
|
-
descendantsDirty: boolean;
|
|
269
|
-
/** Place `child` at timeline depth `depth`: before the first child of a greater depth. */
|
|
270
|
-
placeAtDepth(child: DisplayObject, depth: number): void;
|
|
271
|
-
removeAtDepth(depth: number): DisplayObject | null;
|
|
272
|
-
/** Take `child` out, wherever it is in the list, and off the timeline's depths. */
|
|
273
|
-
removeChild(child: DisplayObject): void;
|
|
274
|
-
/**
|
|
275
|
-
* Put `child` at `index` in render order, as a script's addChildAt does:
|
|
276
|
-
* out of its parent first, and off the timeline's depths, which no
|
|
277
|
-
* longer place it.
|
|
278
|
-
*/
|
|
279
|
-
addChildAt(child: DisplayObject, index: number): void;
|
|
280
|
-
swapChildren(a: DisplayObject, b: DisplayObject): void;
|
|
281
|
-
}
|
|
282
|
-
/** The state a button shows, as the pointer has it. */
|
|
283
|
-
export type ButtonState = "up" | "over" | "down";
|
|
284
|
-
/**
|
|
285
|
-
* A button (SimpleButton): four states, each a display object, of which it
|
|
286
|
-
* shows the up, over or down one, as the pointer has it, and hit tests with
|
|
287
|
-
* the fourth. The state it shows is its one child, which it is drawn and
|
|
288
|
-
* bounded by; the others are its own, off the display list, but each has
|
|
289
|
-
* its frames as Flash's do (`frameChildren`). Not a container to a script.
|
|
290
|
-
*/
|
|
291
|
-
export declare class ButtonObject extends Container {
|
|
292
|
-
upState: DisplayObject | null;
|
|
293
|
-
overState: DisplayObject | null;
|
|
294
|
-
downState: DisplayObject | null;
|
|
295
|
-
hitTestState: DisplayObject | null;
|
|
296
|
-
state: ButtonState;
|
|
297
|
-
/** Its states' next frame scripts run up, over, down, hit: the first, in a SWF after 9 (Scripting.construct). */
|
|
298
|
-
firstScripts: boolean;
|
|
299
|
-
enabled: boolean;
|
|
300
|
-
useHandCursor: boolean;
|
|
301
|
-
trackAsMenu: boolean;
|
|
302
|
-
/** The display object of state `state`. */
|
|
303
|
-
stateObject(state: ButtonState): DisplayObject | null;
|
|
304
|
-
/** Show state `state`. */
|
|
305
|
-
setState(state: ButtonState): void;
|
|
306
|
-
/**
|
|
307
|
-
* Have the state it is in be its one child, as it is now. The states it
|
|
308
|
-
* does not show are parented to nothing, as Flash has them once made.
|
|
309
|
-
*/
|
|
310
|
-
show(): void;
|
|
311
|
-
}
|
|
312
|
-
/**
|
|
313
|
-
* Make a button's states from its records, as Flash does when the button
|
|
314
|
-
* is made, up, over, down, then hit test: each state the one character it
|
|
315
|
-
* shows, else a container of its characters by depth, one for none too. A
|
|
316
|
-
* character in several states is made once for each. `made` brings a
|
|
317
|
-
* character to life once placed, and `holderMade` each container, once all
|
|
318
|
-
* four states' characters are, as Flash names them after those; the hit
|
|
319
|
-
* test state takes only the records' transforms.
|
|
320
|
-
*/
|
|
321
|
-
export declare function buttonStates(button: ButtonObject, character: ButtonCharacter, library: Library, made: (display: DisplayObject, character: DisplayCharacter) => void, holderMade: (holder: Container) => void): void;
|
|
322
|
-
/**
|
|
323
|
-
* The display objects whose frame scripts a display object's run: those
|
|
324
|
-
* whose frames its frames run, but a button's first, in a SWF after 9, up,
|
|
325
|
-
* over, down, then hit test, as Flash runs them while the button is made.
|
|
326
|
-
*/
|
|
327
|
-
export declare function scriptChildren(d: DisplayObject): readonly DisplayObject[];
|
|
328
|
-
/**
|
|
329
|
-
* The display objects whose frames a display object's frames run: a
|
|
330
|
-
* container's children, and all a button's states, as Ruffle orders them,
|
|
331
|
-
* the hit test state first, whichever it shows.
|
|
332
|
-
*/
|
|
333
|
-
export declare function frameChildren(d: DisplayObject): readonly DisplayObject[];
|
|
334
|
-
/**
|
|
335
|
-
* A walk of a container's children in render order, for the timeline
|
|
336
|
-
* masks that clip each: a mask clips the children after it until one
|
|
337
|
-
* placed deeper than its clip depth; one a script put among them has no
|
|
338
|
-
* depth and ends nothing. A class, not a generator: the renderer walks
|
|
339
|
-
* every child each time a container's children change.
|
|
340
|
-
*/
|
|
341
|
-
export declare class Clips {
|
|
342
|
-
/** The masks open, outermost first. */
|
|
343
|
-
readonly masks: DisplayObject[];
|
|
344
|
-
/** The next child: how many of `masks`, from the first, clip it; it clips those after it, if a mask. */
|
|
345
|
-
enter(child: DisplayObject): number;
|
|
346
|
-
}
|
|
347
|
-
export declare class MovieClip extends Container {
|
|
348
|
-
readonly timeline: Timeline;
|
|
349
|
-
/** A clip always has its library: the one its timeline came from. */
|
|
350
|
-
library: Library;
|
|
351
|
-
/** The frame it shows, 1 the first; 0 before its first frame is entered. */
|
|
352
|
-
currentFrame: number;
|
|
353
|
-
playing: boolean;
|
|
354
|
-
/** Made by a script with `new`: Flash has such a clip sit out the next frame's advance. */
|
|
355
|
-
fresh: boolean;
|
|
356
|
-
/** The scripts addFrameScript registered, by frame, 1 the first. */
|
|
357
|
-
readonly frameScripts: Map<number, any>;
|
|
358
|
-
/** The frame whose script last ran, so that entering a frame runs its script once. */
|
|
359
|
-
scriptedFrame: number;
|
|
360
|
-
/** A goto a frame script asked for, taken when the script returns, as Flash defers it; null for none. */
|
|
361
|
-
queuedGoto: number | null;
|
|
362
|
-
/** Whether that goto plays or stops the clip, as it happens, not as it is asked for. */
|
|
363
|
-
queuedPlay: boolean;
|
|
364
|
-
/**
|
|
365
|
-
* The frame count (Scripting.frames) at a script's goto in a SWF of
|
|
366
|
-
* version 9 or earlier, a goto to the frame it is on among them: the next
|
|
367
|
-
* frame it sits out, with all in it, as Flash has such a clip
|
|
368
|
-
* (`goto-children`). A stamp, not a flag: one a skipped parent took along,
|
|
369
|
-
* or a clip no frame reached, is past by the frame after and never skips.
|
|
370
|
-
* From version 10 a goto leaves its frames as they were.
|
|
371
|
-
*/
|
|
372
|
-
skipsAfter: number;
|
|
373
|
-
constructor(timeline: Timeline, library: Library);
|
|
374
|
-
get totalFrames(): number;
|
|
375
|
-
/**
|
|
376
|
-
* First-frame children placed but not yet made alive: placed before the
|
|
377
|
-
* clip's class constructor runs, made by Sprite's constructChildren in its
|
|
378
|
-
* super(), as Flash has a constructor find them (`instantiation_on_enter_frame`).
|
|
379
|
-
*/
|
|
380
|
-
private held;
|
|
381
|
-
/**
|
|
382
|
-
* Run frame `frame`'s commands as the playhead reaches it: place, move and
|
|
383
|
-
* remove the timeline's children. A place without the move flag at a depth
|
|
384
|
-
* already taken is let be, as Flash lets it (`same-depth`).
|
|
385
|
-
* A new child is made alive at once, or `later`: by the frame's construct
|
|
386
|
-
* phase, after ENTER_FRAME, for a frame played on; by constructChildren,
|
|
387
|
-
* held, for a clip's first frame.
|
|
388
|
-
*/
|
|
389
|
-
private runFrame;
|
|
390
|
-
/**
|
|
391
|
-
* Jump to frame `frame`, as Flash does rather than by running the frames
|
|
392
|
-
* between: the frames up to it (from the first, for a rewind) are
|
|
393
|
-
* replayed into one jump per depth. On a rewind the children the timeline
|
|
394
|
-
* placed after it go, but one at a depth the frames up to it end on a
|
|
395
|
-
* place without the move flag at, which stays and takes the place; and
|
|
396
|
-
* any child whose ratio is not the one the replayed frames give goes,
|
|
397
|
-
* whenever it was placed. Each jump then changes the child still at its
|
|
398
|
-
* depth, or makes one where the frames placed one anew, or where a
|
|
399
|
-
* rewind ends on another character or ratio. The result is what playing
|
|
400
|
-
* the frames would leave, except that a child placed before the frame and
|
|
401
|
-
* untouched since keeps playing, and its identity; on a rewind a place
|
|
402
|
-
* puts back what it leaves unsaid too, so it looks as it did when first
|
|
403
|
-
* placed. A clip's own loop (`looping`) makes the children it places
|
|
404
|
-
* alive in the frame's construct phase, as playing on does (`loop-ratio`);
|
|
405
|
-
* a script's goto, at once.
|
|
406
|
-
*/
|
|
407
|
-
gotoFrame(frame: number, looping?: boolean): void;
|
|
408
|
-
/** The first frame, as a clip runs it when it is made, its children placed and made alive; once. */
|
|
409
|
-
enterFirstFrame(): void;
|
|
410
|
-
/** The first frame's children placed, to be made alive by enterFirstFrame; once. */
|
|
411
|
-
placeFirstFrame(): void;
|
|
412
|
-
/**
|
|
413
|
-
* On to the next frame, if it plays and has one. From the last frame it
|
|
414
|
-
* loops to the first as a goto, so what the first frame placed stays.
|
|
415
|
-
*/
|
|
416
|
-
advance(): void;
|
|
417
|
-
}
|
|
418
|
-
/** A display object for a character, before its first frame: a shape, or a clip. */
|
|
419
|
-
/** `hasImage` is PlaceObject3's flag where a timeline places it, which a bitmap's construction reads. */
|
|
420
|
-
export declare function displayFor(character: DisplayCharacter, library: Library, hasImage?: boolean): DisplayObject;
|
|
421
|
-
/** A display object for a character as the timeline would place it, alive, but in no container. */
|
|
422
|
-
export declare function instantiate(character: DisplayCharacter, library: Library): DisplayObject;
|
|
423
|
-
/** A timeline of one empty frame: a clip a script makes. */
|
|
424
|
-
export declare const EMPTY_TIMELINE: Timeline;
|
|
425
|
-
//# sourceMappingURL=display.d.ts.map
|
package/dist/display.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../src/display.ts"],"names":[],"mappings":"AAMA,OAAO,EAML,KAAK,cAAc,EAEnB,KAAK,MAAM,EACX,KAAK,KAAK,EAEX,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,KAAK,IAAI,EAAW,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,KAAK,WAAW,EAAe,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,gBAAgB,EAErB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACd,MAAM,eAAe,CAAC;AAEvB,mEAAmE;AACnE,eAAO,MAAM,KAAK,IAAI,CAAC;AACvB,eAAO,MAAM,SAAS,IAAI,CAAC;AAC3B,eAAO,MAAM,QAAQ,IAAI,CAAC;AAC1B,eAAO,MAAM,OAAO,IAAI,CAAC;AACzB,yFA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