set method
rect.set('fill', 'red'); rect.set({ strokeWidth: 5, stroke: 'rgba(100,200,200,0.5)' }); rect.set('angle', 15).set('flipY', true);
Implementation
external FabricObject set(dynamic propNameOrMap, [dynamic val]);
rect.set('fill', 'red'); rect.set({ strokeWidth: 5, stroke: 'rgba(100,200,200,0.5)' }); rect.set('angle', 15).set('flipY', true);
external FabricObject set(dynamic propNameOrMap, [dynamic val]);