You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
883 B
57 lines
883 B
9 months ago
|
import Konva from "konva";
|
||
|
|
||
|
const search=function (){
|
||
|
const group=new Konva.Group({
|
||
|
x:20,
|
||
8 months ago
|
y:52
|
||
9 months ago
|
})
|
||
|
const selectRect=new Konva.Rect({
|
||
|
x: 0,
|
||
|
y: 0,
|
||
|
fill:'#ffffff',
|
||
|
width: 110,
|
||
|
height:20,
|
||
|
stroke:'black',
|
||
|
strokeWidth:1,
|
||
|
})
|
||
|
group.add(selectRect)
|
||
|
const plRect=new Konva.Rect({
|
||
|
x: 115,
|
||
|
y: 0,
|
||
|
fill:'#ffffff',
|
||
|
width: 110,
|
||
|
height:20,
|
||
|
stroke:'black',
|
||
|
strokeWidth:1,
|
||
|
})
|
||
|
group.add(plRect)
|
||
|
|
||
|
const fdRect=new Konva.Rect({
|
||
|
x: 230,
|
||
|
y: 0,
|
||
|
fill:'#ffffff',
|
||
|
width: 110,
|
||
|
height:20,
|
||
|
stroke:'black',
|
||
|
strokeWidth:1,
|
||
|
})
|
||
|
group.add(fdRect)
|
||
|
|
||
8 months ago
|
// const sljhrqRect=new Konva.Rect({
|
||
|
// x: 345,
|
||
|
// y: 0,
|
||
|
// fill:'#ffffff',
|
||
|
// width: 115,
|
||
|
// height:20,
|
||
|
// stroke:'black',
|
||
|
// strokeWidth:1,
|
||
|
// })
|
||
|
// group.add(sljhrqRect)
|
||
9 months ago
|
|
||
|
return {
|
||
|
group
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default search
|