This repository was archived by the owner on Oct 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 y = 0 ,
5454 width = 100 ,
5555 height = 200 ;
56- const rectItem = new Dynamsoft . DCE . DrawingItem . RectDrawingItem ( {
56+ const rectItem = new Dynamsoft . DCE . RectDrawingItem ( {
5757 x,
5858 y,
5959 width,
8282 y : 300 ,
8383 } ,
8484 ] ;
85- const quadItem = new Dynamsoft . DCE . DrawingItem . QuadDrawingItem ( {
85+ const quadItem = new Dynamsoft . DCE . QuadDrawingItem ( {
8686 points,
8787 } ) ;
8888 drawingLayer . addDrawingItems ( [ quadItem ] ) ;
9292 {
9393 const startPoint = { x : 400 , y : 100 } ,
9494 endPoint = { x : 600 , y : 300 } ;
95- const lineItem = new Dynamsoft . DCE . DrawingItem . LineDrawingItem ( {
95+ const lineItem = new Dynamsoft . DCE . LineDrawingItem ( {
9696 startPoint,
9797 endPoint,
9898 } ) ;
106106 y = 100 ,
107107 width = 200 ,
108108 height = 100 ;
109- const textItem = new Dynamsoft . DCE . DrawingItem . TextDrawingItem (
109+ const textItem = new Dynamsoft . DCE . TextDrawingItem (
110110 text ,
111111 {
112112 x,
128128 image . src = "image.png" ;
129129 image . decode ( ) . then ( ( ) => {
130130 const imageItem =
131- new Dynamsoft . DCE . DrawingItem . ImageDrawingItem (
131+ new Dynamsoft . DCE . ImageDrawingItem (
132132 image ,
133133 { x, y, width, height } ,
134134 true
You can’t perform that action at this time.
0 commit comments