@twick/timeline / Exports / CircleElement
Class: CircleElement
Hierarchy
-
↳
CircleElement
Table of contents
Constructors
Properties
Methods
- accept
- getAnimation
- getDuration
- getEnd
- getFill
- getId
- getName
- getPosition
- getProps
- getRadius
- getStart
- getTrackId
- getType
- setAnimation
- setEnd
- setFill
- setId
- setName
- setPosition
- setProps
- setRadius
- setStart
- setTrackId
- setType
Constructors
constructor
• new CircleElement(fill, radius): CircleElement
Parameters
| Name | Type |
|---|---|
fill | string |
radius | number |
Returns
Overrides
Defined in
packages/timeline/src/core/elements/circle.element.ts:8
Properties
animation
• Protected Optional animation: ElementAnimation
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:13
e
• Protected e: number
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:10
id
• Protected id: string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:7
name
• Protected name: string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:12
props
• Protected props: CircleProps
Overrides
Defined in
packages/timeline/src/core/elements/circle.element.ts:7
s
• Protected s: number
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:9
trackId
• Protected trackId: string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:11
type
• Protected type: string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:8
Methods
accept
▸ accept<T>(visitor): T
Type parameters
| Name |
|---|
T |
Parameters
| Name | Type |
|---|---|
visitor | ElementVisitor<T> |
Returns
T
Overrides
Defined in
packages/timeline/src/core/elements/circle.element.ts:35
getAnimation
▸ getAnimation(): undefined | ElementAnimation
Returns
undefined | ElementAnimation
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:59
getDuration
▸ getDuration(): number
Returns
number
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:43
getEnd
▸ getEnd(): number
Returns
number
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:39
getFill
▸ getFill(): string
Returns
string
Defined in
packages/timeline/src/core/elements/circle.element.ts:16
getId
▸ getId(): string
Returns
string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:27
getName
▸ getName(): string
Returns
string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:55
getPosition
▸ getPosition(): Position
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:63
getProps
▸ getProps(): Record<string, any>
Returns
Record<string, any>
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:51
getRadius
▸ getRadius(): number
Returns
number
Defined in
packages/timeline/src/core/elements/circle.element.ts:20
getStart
▸ getStart(): number
Returns
number
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:35
getTrackId
▸ getTrackId(): string
Returns
string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:47
getType
▸ getType(): string
Returns
string
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:31
setAnimation
▸ setAnimation(animation?): CircleElement
Parameters
| Name | Type |
|---|---|
animation? | ElementAnimation |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:100
setEnd
▸ setEnd(e): CircleElement
Parameters
| Name | Type |
|---|---|
e | number |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:85
setFill
▸ setFill(fill): CircleElement
Parameters
| Name | Type |
|---|---|
fill | string |
Returns
Defined in
packages/timeline/src/core/elements/circle.element.ts:24
setId
▸ setId(id): CircleElement
Parameters
| Name | Type |
|---|---|
id | string |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:70
setName
▸ setName(name): CircleElement
Parameters
| Name | Type |
|---|---|
name | string |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:95
setPosition
▸ setPosition(position): CircleElement
Parameters
| Name | Type |
|---|---|
position | Position |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:105
setProps
▸ setProps(props): CircleElement
Parameters
| Name | Type |
|---|---|
props | Record<string, any> |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:111
setRadius
▸ setRadius(radius): CircleElement
Parameters
| Name | Type |
|---|---|
radius | number |
Returns
Defined in
packages/timeline/src/core/elements/circle.element.ts:29
setStart
▸ setStart(s): CircleElement
Parameters
| Name | Type |
|---|---|
s | number |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:80
setTrackId
▸ setTrackId(trackId): CircleElement
Parameters
| Name | Type |
|---|---|
trackId | string |
Returns
Inherited from
Defined in
packages/timeline/src/core/elements/base.element.ts:90
setType
▸ setType(type): CircleElement
Parameters
| Name | Type |
|---|---|
type | string |