Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
MAC_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
yunseok
2021-04-11 17:24:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
02e210598fec794cb9e0ddc52852c3418df8b906
02e21059
1 parent
402024e3
Revert "한글 splited"
This reverts commit
402024e3
.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
16 deletions
gif-generator/src/components/Text.js
package-lock.json
gif-generator/src/components/Text.js
View file @
02e2105
import
ComponentInterface
from
"./ComponentInterface"
import
Color
from
"./Color"
import
Hangul
from
"hangul-js"
class
Text
extends
ComponentInterface
{
constructor
(
fabricObj
)
{
super
();
this
.
color
=
new
Color
(
fabricObj
.
fill
);
this
.
text
=
{
plain
:
fabricObj
.
text
,
splited
:
Hangul
.
disassemble
(
fabricObj
.
text
)
};
this
.
text
=
fabricObj
.
text
;
this
.
position
=
{
top
:
fabricObj
.
top
,
left
:
fabricObj
.
left
...
...
package-lock.json
deleted
100644 → 0
View file @
402024e
{
"requires"
:
true
,
"lockfileVersion"
:
1
,
"dependencies"
:
{
"hangul-js"
:
{
"version"
:
"0.2.6"
,
"resolved"
:
"https://registry.npmjs.org/hangul-js/-/hangul-js-0.2.6.tgz"
,
"integrity"
:
"sha512-48axU8LgjCD30FEs66Xc04/8knxMwCMQw0f67l67rlttW7VXT3qRJgQeHmhiuGwWXGvSbk6YM0fhQlcjE1JFQA=="
}
}
}
Please
register
or
login
to post a comment