@twick/timeline / Exports / ElementFrameEffect
Class: ElementFrameEffect
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ElementFrameEffect(start, end): ElementFrameEffect
Parameters
| Name | Type |
|---|---|
start | number |
end | number |
Returns
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:7
Properties
e
• Private e: number
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:5
props
• Private props: FrameEffectProps
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:6
s
• Private s: number
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:4
Methods
getEnd
▸ getEnd(): number
Returns
number
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:25
getProps
▸ getProps(): FrameEffectProps
Returns
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:17
getStart
▸ getStart(): number
Returns
number
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:21
setEnd
▸ setEnd(end): ElementFrameEffect
Parameters
| Name | Type |
|---|---|
end | number |
Returns
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:34
setProps
▸ setProps(props): ElementFrameEffect
Parameters
| Name | Type |
|---|---|
props | FrameEffectProps |
Returns
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:12
setStart
▸ setStart(start): ElementFrameEffect
Parameters
| Name | Type |
|---|---|
start | number |
Returns
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:29
toJSON
▸ toJSON(): FrameEffect
Returns
Defined in
packages/timeline/src/core/addOns/frame-effect.ts:39
fromJSON
▸ fromJSON(json): ElementFrameEffect
Parameters
| Name | Type |
|---|---|
json | FrameEffect |