transform

๐Ÿ•น๏ธ TransformControlsํ•ด๋‹น ์ปดํฌ๋„ŒํŠธ๋Š” mode์˜ ์†์„ฑ์„ ํ†ตํ•ด ์˜ค๋ธŒ์ ํŠธ์˜ ํŽธ์ง‘ ๋ชจ๋“œ๋ฅผ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ๋‹ค. โˆ™ translate: ์˜ค๋ธŒ์ ํŠธ์˜ ์œ„์น˜ ์ขŒํ‘œ๊ฐ’์„ ๋ณ€๊ฒฝโˆ™ rotate: ์˜ค๋ธŒ์ ํŠธ์˜ ํšŒ์ „๊ฐ’์„ ๋ณ€๊ฒฝโˆ™ scale: ์˜ค๋ธŒ์ ํŠธ์˜ ๊ทœ๋ชจ ๋ณ€๊ฒฝ ๋”ฐ๋ผ์„œ ๋ฒ„ํŠผ์„ ์ƒ์„ฑํ•˜๊ณ , ํ•ด๋‹น ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅผ ๋•Œ ๋ฒ„ํŠผ์— ์ ์šฉ๋œ ๊ฐ’์œผ๋กœ ์ƒํƒœ๊ฐ’์„ ๋ณ€๊ฒฝํ•˜์—ฌ ์ปจํŠธ๋กค๋Ÿฌ์˜ ํŽธ์ง‘ ๋ชจ๋“œ๋ฅผ ์„ค์ •ํ•ด๋ณด๊ฒ ๋‹ค. ์ด์ „ ๊ฒŒ์‹œ๊ธ€์—์„œ mode๋ผ๋Š” useState()๋ฅผ ์ƒ์„ฑํ•˜์—ฌ "translate" ๊ฐ’์„ ๋„ฃ์—ˆ๋‹ค. ํ•ด๋‹น ์ƒํƒœ๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด ๋ฒ„ํŠผ์„ ๋งŒ๋“ค์–ด๋ณด์ž ๐Ÿ“ Editor / ๐Ÿ“„ TransformControlButtons.tsximport { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import..
ma.caron_g
'transform' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก