画板 | Frame
相当于单个页面 / 画板,可添加子元素,有固定宽高。
关键属性
width: number
宽度。
height: number
高度。
fill:string
默认白色背景。
const frame = new Frame({
width: 1920,
height: 1080,
fill: '#F6F6F6',
})
clip:boolean
是否裁剪掉溢出的内容,默认为 true。
相当于单个页面 / 画板,可添加子元素,有固定宽高。
宽度。
高度。
默认白色背景。
const frame = new Frame({
width: 1920,
height: 1080,
fill: '#F6F6F6',
})
是否裁剪掉溢出的内容,默认为 true。