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:19:45 +0900
1
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
402024e348c27df8a7d26977b4ca184c80d65e8b
402024e3
1 parent
070c3515
한글 splited
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
gif-generator/src/components/Text.js
package-lock.json
gif-generator/src/components/Text.js
View file @
402024e
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
=
fabricObj
.
text
;
this
.
text
=
{
plain
:
fabricObj
.
text
,
splited
:
Hangul
.
disassemble
(
fabricObj
.
text
)
};
this
.
position
=
{
top
:
fabricObj
.
top
,
left
:
fabricObj
.
left
...
...
package-lock.json
0 → 100644
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=="
}
}
}
오윤석
@2017104005
2021-04-11 08:26:29 UTC
Mentioned in commit
02e21059
Please
register
or
login
to post a comment