Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create alpha version #365

Open
wants to merge 639 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
639 commits
Select commit Hold shift + click to select a range
e22e35f
refactor: Move absolutePoints property to BoundingBox
kmkzt Feb 5, 2022
aa9425c
feat: Added segmentPointsFromCommand
kmkzt Feb 5, 2022
ad72256
fix: Remove unuse import
kmkzt Feb 5, 2022
49d273d
test: Added segmentPointsFromCommand test
kmkzt Feb 5, 2022
fd73a1d
refactor: Move basePoint property to Editing from EditSvg
kmkzt Feb 5, 2022
7a93d74
fix: Fix import
kmkzt Feb 5, 2022
cc1156a
feat: Added getPath, updatePath, updateCommand
kmkzt Feb 5, 2022
acbd1a1
fix: Fix deleteCommand
kmkzt Feb 5, 2022
922b70f
feat: Added updateCommand method
kmkzt Feb 5, 2022
3ea1eea
test: Added boundingBox.resizeParam
kmkzt Feb 6, 2022
32cf578
refactor: refactor translate method
kmkzt Feb 6, 2022
89af9a6
fix: Replace to Buffer.from from atob
kmkzt Feb 14, 2022
f40e0ed
feat: Added absoluteCommands and relateiveCommnads on path
kmkzt Feb 20, 2022
7844574
test: Fix path.test.ts
kmkzt Feb 20, 2022
79952d9
refactor: Convert selecting to private property
kmkzt Feb 20, 2022
953774f
fix: Fix animation
kmkzt Feb 20, 2022
be02c5d
refactor: Remove to check command type in path.translate
kmkzt Feb 20, 2022
c7588b1
test: Fix animation
kmkzt Feb 20, 2022
9e4162b
test: Replace toMatchInlineSnapshot
kmkzt Feb 20, 2022
7c08a8c
chore: Added comment
kmkzt Mar 13, 2022
da8785d
refactor: improve DrawEventHandler interface
kmkzt Mar 13, 2022
82c7d48
fix: Fix drawEventHandler paths
kmkzt Mar 13, 2022
9470f39
refactor: Change interface of useDrawEventHandler
kmkzt Mar 21, 2022
669af1d
feat: Separate EditEventHandler
kmkzt Mar 30, 2022
0d1ad50
feat: Added SvgDrawing methods
kmkzt Apr 26, 2022
f6e682e
test: Fix img-trace test
kmkzt Apr 26, 2022
8641db0
Merge branch 'master' into feature/improve-react
kmkzt Jun 1, 2022
1d51e78
Merge branch 'master' into feature/improve-react
kmkzt Jun 3, 2022
aaad3dd
test: add test for Drawing class object
kmkzt Jun 3, 2022
b940edb
test: add test for drawing update
kmkzt Jun 3, 2022
37c45ea
refactor: remove drawing/index.ts
kmkzt Jun 5, 2022
c4bf472
refactor: remove svg/index.ts
kmkzt Jun 5, 2022
d62fe04
refactor: remove eventHandler directory
kmkzt Jun 5, 2022
7ed49c5
fix: fix import path
kmkzt Jun 5, 2022
782c2d9
feat: added testing-library for react
kmkzt Jun 5, 2022
ee0a703
feat: added @testing-library/user-event
kmkzt Jun 5, 2022
2e4218e
fix: added react-library for test
kmkzt Jun 5, 2022
c09abb5
feat: added test for useSvg
kmkzt Jun 5, 2022
7943b63
test: added useRenderInterval
kmkzt Jun 5, 2022
08268e3
Merge branch 'master' into feature/improve-react
kmkzt Jun 6, 2022
62496f1
Merge branch 'master' into feature/improve-react
kmkzt Jun 6, 2022
d32c337
fix: fix types
kmkzt Jun 8, 2022
a6557dd
Merge branch 'master' into feature/improve-react
kmkzt Jun 8, 2022
53d6b0c
Merge branch 'master' into feature/improve-react
kmkzt Jun 8, 2022
c27496e
fix: fix example ui
kmkzt Jun 8, 2022
219902c
test: added test for Svg.tsx
kmkzt Jun 11, 2022
ba34abd
Merge branch 'master' into feature/improve-react
kmkzt Jun 15, 2022
3bd5af8
Merge branch 'master' into feature/improve-react
kmkzt Jun 15, 2022
7815208
Merge branch 'master' into feature/improve-react
kmkzt Jun 19, 2022
81e2b2d
docs: improve tsdoc comment
kmkzt Jun 19, 2022
7740be9
docs: improve tsdoc comment
kmkzt Jun 19, 2022
e081478
Merge branch 'master' into feature/improve-react
kmkzt Jul 3, 2022
efcb0d5
refactor: added comment
kmkzt Jul 5, 2022
43afa51
docs: added comment of `Editing` class object methods
kmkzt Jul 5, 2022
83b8d8c
Merge branch 'master' into feature/improve-react
kmkzt Jul 6, 2022
218120f
revert: revert document and example code
kmkzt Jul 6, 2022
410656f
refactor: fixed key of test data
kmkzt Jul 6, 2022
9427f63
refactor: add OffsetPosition class
kmkzt Jul 6, 2022
f1bba18
refactor: move basePoint property to TranslatePathHandler
kmkzt Jul 6, 2022
7b95c68
refactor: remove unuse methods
kmkzt Jul 19, 2022
bac9e9a
test: added test
kmkzt Jul 19, 2022
5519a0b
test: added test of Svg class
kmkzt Jul 19, 2022
e43a97f
refactor: fix tsdoc comment
kmkzt Jul 19, 2022
538e458
fix: fix resizePathHandler cleanup effect
kmkzt Jul 25, 2022
688c2c4
refactor: shoten the code of risizeBoundingBox methods
kmkzt Jul 25, 2022
e207489
refactor: improve ResizePathHandler.start methods
kmkzt Jul 25, 2022
f76aad4
fix: changed constructor arguments to required
kmkzt Jul 25, 2022
c45b40a
Merge branch 'master' into feature/improve-react
kmkzt Aug 2, 2022
fd3493f
Merge branch 'master' into feature/improve-react
kmkzt Aug 3, 2022
750aa18
Merge branch 'master' into feature/improve-react
kmkzt Aug 10, 2022
39da9b0
chore: updte v5.0.0-beta.1
kmkzt Aug 10, 2022
ee2e59d
fix: fix usePencilHandler and usePenHandler
kmkzt Aug 10, 2022
14327fa
chore: update v5.0.1-beta.0
kmkzt Aug 10, 2022
fbe5f90
fix: fix demo page
kmkzt Oct 13, 2022
a8c9afd
fix: fix draw event handler
kmkzt Oct 13, 2022
4b0de58
fix: rename methods
kmkzt Oct 19, 2022
7d0be6f
feat: added EditPoint component
kmkzt Nov 5, 2022
daa824d
feat: add EditPath component
kmkzt Nov 5, 2022
449b456
feat: change EditPathObject interface
kmkzt Nov 5, 2022
5fddcf6
fix: change BoundingBoxObject interface
kmkzt Nov 5, 2022
6e54c2f
fix: select path when click boundingbox
kmkzt Nov 5, 2022
8dfe1c7
docs: update docs
kmkzt Nov 5, 2022
8567b48
feat: stop exporting path command class objects
kmkzt Nov 6, 2022
1fbf887
test: fix command.test.ts
kmkzt Nov 6, 2022
8e64bdb
refactor: rename PathClass method to setCommands from updateCommands
kmkzt Nov 6, 2022
ac20afa
test: fix download.test.ts
kmkzt Nov 6, 2022
7702f28
test: fix test for change in addCommand argument type
kmkzt Nov 6, 2022
ab85f6a
feat: replace createCommand
kmkzt Nov 7, 2022
f0b4d80
docs: update docs
kmkzt Nov 7, 2022
cc602c9
fix: remove methods
kmkzt Nov 7, 2022
d582bb0
refactor: rename vertex
kmkzt Nov 10, 2022
80eead4
refactor: rename anchorPoint
kmkzt Nov 10, 2022
869e63b
refactor: refactor EditPath components
kmkzt Nov 10, 2022
76c505e
docs: fix example comment
kmkzt Nov 14, 2022
4483bc7
refactor: rename AnchorPointProps
kmkzt Nov 15, 2022
601449b
feat: added SvgContext
kmkzt Nov 15, 2022
bc02a8a
fix: move EditLayer to Svg components
kmkzt Nov 16, 2022
2d397a1
feat: remove Paths components
kmkzt Nov 16, 2022
a55c745
feat: change path color to transparent when editing
kmkzt Nov 16, 2022
d4cf204
refactor: change Path component props
kmkzt Nov 16, 2022
5920e90
refactor: improve AnimationObject
kmkzt Nov 21, 2022
162110b
test: fix test
kmkzt Nov 21, 2022
7894165
fix: fix download
kmkzt Nov 21, 2022
c9b7070
refactor: use data-attributes
kmkzt Nov 23, 2022
deeb26a
feat: added useEditEventHandler
kmkzt Nov 23, 2022
41b28d9
fix: fix default multipleSelectBindkey
kmkzt Nov 24, 2022
da92e5f
refactor: move editEventHandler to core
kmkzt Nov 24, 2022
8097691
fix: fix useEditEventHandler
kmkzt Nov 24, 2022
b8d5753
fix: remove import
kmkzt Nov 24, 2022
23ff5cb
fix: remove changeAttributes
kmkzt Nov 24, 2022
0aa8e94
test: fix test
kmkzt Nov 29, 2022
6164f0e
refactor: make renderer directory
kmkzt Nov 29, 2022
48c6734
refactor: rename function
kmkzt Nov 29, 2022
ae1947e
fix: fix EditPath.tsx
kmkzt Nov 30, 2022
53e0218
feat: define RndererClass
kmkzt Nov 30, 2022
a2da26b
feat: render boundingBox
kmkzt Dec 6, 2022
0c3602f
feat: render Edit Segment
kmkzt Dec 6, 2022
956b783
feat: added ElementClass interface
kmkzt Dec 21, 2022
1ee0319
refactor: rename react component props
kmkzt Dec 21, 2022
c164190
refactor: rename elements from paths
kmkzt Dec 22, 2022
2bcb03a
feat: add utils for data attributes
kmkzt Jan 3, 2023
0e44d1e
fix: remove preventDafault
kmkzt Jan 3, 2023
47ab773
feat: added data-attributes for svg renderer
kmkzt Jan 3, 2023
9a943da
test: update test
kmkzt Jan 3, 2023
cfb4697
chore: remove unuse import
kmkzt Jan 3, 2023
1f43f13
refactor: remove resize method
kmkzt Jan 3, 2023
2e78df9
feat: added Editing.update methods
kmkzt Jan 3, 2023
14b16fc
refactor: improve drawFactory interface
kmkzt Jan 3, 2023
cba665e
refactor: elements property convert ReadonlyArray
kmkzt Jan 4, 2023
da30d07
refactor: remove addElement method
kmkzt Jan 4, 2023
7a04f28
refactor: improve path method interface
kmkzt Jan 4, 2023
e82ff1c
chore: change ReadonlyArray
kmkzt Jan 12, 2023
4112e07
chore: remove unuse import
kmkzt Jan 12, 2023
503cfc3
chore: change readonly array
kmkzt Jan 12, 2023
feb147a
refactor: make event directory
kmkzt Jan 12, 2023
eb9d955
refactor: moved DrawEventHandler to event dir
kmkzt Jan 12, 2023
d28f638
refactor: move event directory
kmkzt Jan 30, 2023
f93cf96
refactor: remove unuse code
kmkzt Jan 30, 2023
2b7cb5d
Merge branch 'master' into feature/improve-react
kmkzt Jan 31, 2023
bd91905
Merge branch 'master' into feature/improve-react
kmkzt Feb 4, 2023
13492be
fix: fix typecheck error
kmkzt Feb 4, 2023
9dcddb2
refactor: rename Selector from PathSelector
kmkzt Feb 4, 2023
a47b051
feat: added SelectObject interface
kmkzt Feb 4, 2023
89864bc
feat: improve boundingBoxObject interface
kmkzt Feb 4, 2023
fd37074
fix: remove unuse parameters
kmkzt Feb 4, 2023
c668026
fix: fix types
kmkzt Feb 4, 2023
fe8c0cb
fix: fix typechecl
kmkzt Feb 4, 2023
08c0ba5
feat: added SelectObject
kmkzt Feb 4, 2023
f28bd44
refactor: change EditEventObject interface
kmkzt Feb 5, 2023
8e89fa8
refactor: move getEventPoint to event directory
kmkzt Feb 6, 2023
3c50f0a
refactor: remove unuse code
kmkzt Feb 6, 2023
9efbee5
refactor: change select methods interface
kmkzt Feb 6, 2023
fcaac87
refactor: rename SelectEventObject from SelectObject
kmkzt Feb 8, 2023
ea2ae5e
refactor: change SelectObject interface
kmkzt Feb 8, 2023
48408d4
refactor: remove methods
kmkzt Feb 8, 2023
4568efe
refactor: remove unselect
kmkzt Feb 8, 2023
e164936
refactor: added multiple parameter on EditEventObject
kmkzt Feb 9, 2023
0b358e8
fix: change optional
kmkzt Feb 9, 2023
ca0a476
feat: added EditEventHandler
kmkzt Feb 9, 2023
6895a6c
refactor: change key parameter from pressed
kmkzt Feb 9, 2023
2177592
fix: rename private methods
kmkzt Feb 9, 2023
057e9da
fix: remove selected methods
kmkzt Feb 9, 2023
9f5042e
refactor: remove setDrawing
kmkzt Feb 14, 2023
509a921
refactor: rename EditHandler
kmkzt Feb 14, 2023
a9eb265
refactor: remove ResizeEventHandler callback
kmkzt Feb 14, 2023
02d5299
refactor: fix EventHandler interfaces
kmkzt Feb 14, 2023
806475a
feat: added useEventHandler
kmkzt Feb 14, 2023
afdceba
refactor: remove unuse methods
kmkzt Feb 14, 2023
9d1f0e7
refactor: remove active property
kmkzt Feb 14, 2023
39bf7db
refactor: useResize use useEventHandler
kmkzt Feb 14, 2023
1b17621
refactor: refactor useRenderInterval
kmkzt Feb 15, 2023
831e3e5
feat: improve EditPathObject
kmkzt Feb 15, 2023
2b08246
fix: remove unuse methods
kmkzt Feb 18, 2023
6ea9a02
refactor: correct function name and directory
kmkzt Feb 18, 2023
501173e
feat: rename AnchorPointObject
kmkzt Feb 20, 2023
44a38b4
feat: improve AnchorPointObject
kmkzt Feb 20, 2023
1ec2d2f
feat: fix EditPath component
kmkzt Feb 22, 2023
a76f7a2
refactor: rename EditCommand
kmkzt Feb 23, 2023
000fa60
feat: added EditCommandElement
kmkzt Feb 24, 2023
f748ba3
fix: fix core packages
kmkzt Feb 24, 2023
f4f7270
feat: improve EditPath component
kmkzt Feb 24, 2023
38df049
fix: fig getAnchorPoints method
kmkzt Feb 24, 2023
b205629
fix: fix EditCommandObject
kmkzt Feb 24, 2023
97d8c4a
fix: fix command transform
kmkzt Feb 25, 2023
df9f010
refactor: rename 'path/anchorPoint' from 'path/point'
kmkzt Feb 26, 2023
17c9f15
feat: change behavior for delete anchorPoint
kmkzt Feb 26, 2023
b78e519
fix: fix type
kmkzt Feb 26, 2023
e40800f
fix: fix transform behavior
kmkzt Feb 26, 2023
97a62d6
fix: fix EditSvg.test.ts
kmkzt Feb 26, 2023
2e4426d
refactor: selector property move Editing class
kmkzt Feb 27, 2023
5a9ff08
refactor: remove EditSvg property
kmkzt Feb 27, 2023
2b569c7
fix: remove unuse import
kmkzt Feb 27, 2023
7eef242
feat: added Editing.transform method
kmkzt Mar 1, 2023
a43dcbb
Merge branch 'master' into feature/improve-react
kmkzt Mar 1, 2023
3006e30
Merge branch 'master' into feature/improve-react
kmkzt Mar 2, 2023
b6fd2ab
Merge branch 'master' into feature/improve-react
kmkzt Mar 6, 2023
a7da2d5
test: Fix editSvg.test.ts
kmkzt Mar 7, 2023
ac26376
fix: Change private property
kmkzt Mar 7, 2023
ffeb198
feat: Pass SvgObject as argument
kmkzt Mar 9, 2023
c8118fd
feat: Pass SvgObject and EditSvgObject as arguments
kmkzt Mar 9, 2023
f740411
fix: Fix dom for EditLayer
kmkzt Mar 12, 2023
d7aedc5
feat: Separate EditElements and BoundingBox component
kmkzt Mar 13, 2023
322bd28
feat: Rename methods to render from update
kmkzt Mar 13, 2023
cb02231
fix: Fix renderer.render
kmkzt Mar 13, 2023
c2249f1
feat: Added elements props and remove children props
kmkzt Mar 13, 2023
dfb5d13
feat: Added RenderParams type
kmkzt Mar 13, 2023
97cd7a2
feat: Added RenderParams interface
kmkzt Mar 14, 2023
673486c
feat: Added getInitialState methods
kmkzt Mar 14, 2023
1acf389
refactor: Change private property
kmkzt Mar 19, 2023
b702b69
refactor: Rename property _relateiveCommands from comamnds
kmkzt Mar 19, 2023
f91b112
test: Added test
kmkzt Apr 2, 2023
573fd6d
test: Added EditCommand.test.ts
kmkzt Apr 2, 2023
76f2858
test: Added editing.test.ts
kmkzt Apr 2, 2023
34274d0
fix: Fix tsconfig emit file
kmkzt Apr 2, 2023
cd40207
Merge branch 'master' into feature/improve-react
kmkzt Apr 2, 2023
6f83c52
test: Improve test cases
kmkzt Apr 2, 2023
af96c7a
test: Fix path.tes.ts
kmkzt Apr 2, 2023
076355c
test: Fix svg.test.ts
kmkzt Apr 2, 2023
7b7e3ae
fix: Fix svg.test.tsx
kmkzt Apr 2, 2023
db35eb9
test: Added getEventPoint.test.ts
kmkzt Apr 2, 2023
299b854
test: Added OffsetPositionHandler.test.ts
kmkzt Apr 2, 2023
89a1e88
test: Added pencilHandler.test.ts
kmkzt Apr 2, 2023
1f601b3
test: Improve test case
kmkzt Apr 2, 2023
395f7a1
test: Add penHandler.test.ts
kmkzt Apr 2, 2023
5dc784c
test: Add test for penHandler.cleanup method
kmkzt Apr 2, 2023
52c3b12
test: Added pressedKeyHandler.test.ts
kmkzt Apr 2, 2023
c648e8b
test: Improve test case
kmkzt Apr 2, 2023
05b9287
test: Add resizeHandler.test.ts
kmkzt Apr 2, 2023
6b89437
test: Added test case to convert element from EditSvgObject
kmkzt Apr 2, 2023
e023fcc
test: Fix selector.test.ts
kmkzt Apr 2, 2023
932cbd9
fix: Adjust array length to length argument
kmkzt Apr 2, 2023
d909578
test: Added useEventHandler.test.ts
kmkzt Apr 2, 2023
0417a4e
Merge branch 'master' into feature/improve-react
kmkzt Apr 3, 2023
2886ddf
test: Remove legacyRoot options
kmkzt Apr 3, 2023
960c84b
test: Fix useRenderInterval.testt.tsx
kmkzt Apr 3, 2023
b8ef1e0
test: Fix useSvg.test.ts
kmkzt Apr 4, 2023
be9e507
test: Fix drawing.test.tsx
kmkzt Apr 4, 2023
6a5f164
test: Fix drawing.test.tsx
kmkzt Apr 4, 2023
89309f7
test: Fix animation.test.tsx
kmkzt Apr 4, 2023
d549dad
refactor: Rename replaceElements
kmkzt Apr 9, 2023
e4638ba
refactor: Rename setElement from updaetElement
kmkzt Apr 9, 2023
9ca09fa
refactor: Remove updateElement
kmkzt Apr 9, 2023
4989046
refactor: Remove unuse methods
kmkzt Apr 9, 2023
298bfc3
fix: Fix offsetPositionHandler
kmkzt Apr 27, 2023
5b209ed
fix: Fix boundingBox.test.ts
kmkzt May 31, 2023
b93c4a3
fix: Fix svgRenderer.test.ts
kmkzt May 31, 2023
83114d0
wip
kmkzt Jul 20, 2023
955808e
Merge branch 'master' into feature/improve-react
kmkzt Jul 20, 2023
ef63646
Merge branch 'master' into feature/improve-react
kmkzt Jul 20, 2023
7ba9565
Fix types
kmkzt Jul 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/**
* For babel-jest
*/
/** For babel-jest */
module.exports = (api) => {
api.cache(false)
return {
Expand All @@ -12,6 +10,7 @@ module.exports = (api) => {
},
],
'@babel/preset-typescript',
'@babel/preset-react',
],
}
}
66 changes: 66 additions & 0 deletions docs/packages/classes/svg_drawing_animation/AttributeFrame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Class: AttributeFrame

[@svg-drawing/animation](../../modules/svg_drawing_animation.md).AttributeFrame

## Implements

- `FrameAnimation`

## Constructors

### constructor

• **new AttributeFrame**(`attributesList`)

#### Parameters

| Name | Type |
| :------ | :------ |
| `attributesList` | `PathAttributes`[] |

#### Defined in

[animation/src/index.ts:36](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L36)

## Accessors

### loops

• `get` **loops**(): `number`

#### Returns

`number`

#### Implementation of

FrameAnimation.loops

#### Defined in

[animation/src/index.ts:40](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L40)

## Methods

### animation

▸ **animation**(`paths`, `key`): `PathClass`[]

#### Parameters

| Name | Type |
| :------ | :------ |
| `paths` | `PathClass`[] |
| `key` | `number` |

#### Returns

`PathClass`[]

#### Implementation of

FrameAnimation.animation

#### Defined in

[animation/src/index.ts:44](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L44)
66 changes: 66 additions & 0 deletions docs/packages/classes/svg_drawing_animation/DrawFrame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Class: DrawFrame

[@svg-drawing/animation](../../modules/svg_drawing_animation.md).DrawFrame

## Implements

- `FrameAnimation`

## Constructors

### constructor

• **new DrawFrame**(`paths`)

#### Parameters

| Name | Type |
| :------ | :------ |
| `paths` | `PathClass`[] |

#### Defined in

[animation/src/index.ts:56](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L56)

## Accessors

### loops

• `get` **loops**(): `number`

#### Returns

`number`

#### Implementation of

FrameAnimation.loops

#### Defined in

[animation/src/index.ts:60](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L60)

## Methods

### animation

▸ **animation**(`paths`, `key`): `PathClass`[]

#### Parameters

| Name | Type |
| :------ | :------ |
| `paths` | `PathClass`[] |
| `key` | `number` |

#### Returns

`PathClass`[]

#### Implementation of

FrameAnimation.animation

#### Defined in

[animation/src/index.ts:64](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L64)
61 changes: 61 additions & 0 deletions docs/packages/classes/svg_drawing_animation/ShakeFrame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Class: ShakeFrame

[@svg-drawing/animation](../../modules/svg_drawing_animation.md).ShakeFrame

## Implements

- `FrameAnimation`

## Constructors

### constructor

• **new ShakeFrame**(`range?`)

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `range` | `number` | `5` |

#### Defined in

[animation/src/index.ts:10](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L10)

## Properties

### loops

• `Readonly` **loops**: ``10``

#### Implementation of

FrameAnimation.loops

#### Defined in

[animation/src/index.ts:9](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L9)

## Methods

### animation

▸ **animation**(`paths`): `PathClass`[]

#### Parameters

| Name | Type |
| :------ | :------ |
| `paths` | `PathClass`[] |

#### Returns

`PathClass`[]

#### Implementation of

FrameAnimation.animation

#### Defined in

[animation/src/index.ts:18](https://github.com/kmkzt/svg-drawing/blob/ab85f6a/packages/animation/src/index.ts#L18)
Loading