File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,22 @@ Vue.use(Fabric);
193193| ------- | ------ | ----------------------------------- |
194194| flip | String | 可选值 X,Y 默认值 X , 镜像翻转 X,Y |
195195
196+ #### setCornerIcons(options) 自定义旋转操作元素图片
197+
198+ | options | Type | Description |
199+ | --------------------- | ------ | ------------------------------------------------------------- |
200+ | size | Npmber | 图片大小 px |
201+ | borderColor | String | 图片边框颜色 |
202+ | cornerBackgroundColor | String | 设置背景颜色 |
203+ | cornerShape | String | 形状,默认'rect' ,可选'rect', 'circle' |
204+ | tl | String | top left 左上角元素图片地址(本地只能 static 下的图片) |
205+ | tr | String | top right 右上角元素图片地址(本地只能 static 下的图片) |
206+ | bl | String | bottom left 左下角元素图片地址(本地只能 static 下的图片) |
207+ | br | String | bottom right 右下角元素图片地址(本地只能 static 下的图片) |
208+ | ml | String | middle left 中间左边元素图片地址(本地只能 static 下的图片) |
209+ | mr | String | middle right 中间右边元素图片地址(本地只能 static 下的图片) |
210+ | mtr | String | middle top 顶部元素图片地址(本地只能 static 下的图片) |
211+
196212#### toNextLayer() 设置当前选中画布到下一层
197213
198214#### toLastLayer() 设置当前选中画布到上一层
You can’t perform that action at this time.
0 commit comments