지붕재 추가
This commit is contained in:
parent
a16e4cccba
commit
2963b26d65
BIN
public/assets/img/check2.png
Normal file
BIN
public/assets/img/check2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 234 B |
@ -184,7 +184,7 @@ export default function Roof2() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const addBackgroundInPolygon = (polygon) => {
|
const addBackgroundInPolygon = (polygon) => {
|
||||||
fabric.Image.fromURL('assets/img/check.jpg', function (img) {
|
fabric.Image.fromURL('assets/img/check2.png', function (img) {
|
||||||
// 패턴 객체를 생성합니다.
|
// 패턴 객체를 생성합니다.
|
||||||
const pattern = new fabric.Pattern({
|
const pattern = new fabric.Pattern({
|
||||||
source: img.getElement(),
|
source: img.getElement(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user