Fabric.js Rect Class Complete Reference Last Updated : 07 Apr, 2022 Improve Improve Like Article Like Save Share Report Fabric.js is an open-source JavaScript canvas library, which provides the interactive object model built on top of the canvas element. It is also an SVG-to-canvas & canvas-to-SVG parser. The canvas rectangle means the rectangle is movable and can be stretched according to requirement, along with facilitating the customizable option when it comes to initial stroke color, height, width, fill color, or stroke width. The complete list of Rect canvas class properties are given below: Members: Fabric.js Rect angle Property Fabric.js Rect backgroundColor Property Fabric.js Rect borderColor Property Fabric.js Rect borderDashArray Property Fabric.js Rect borderOpacityWhenMoving Property Fabric.js Rect borderScaleFactor Property Fabric.js Rect centeredRotation Property Fabric.js Rect centeredScaling Property Fabric.js Rect cornerColor Property Fabric.js Rect cornerDashArray Property Fabric.js Rect cornerSize Property Fabric.js Rect cornerStrokeColor Property Fabric.js Rect cornerStyle Property Fabric.js Rect dirty Property Fabric.js Rect excludeFromExport Property Fabric.js Rect fill Property Fabric.js Rect flipX Property Fabric.js Rect flipY Property Fabric.js Rect hasBorders Property Fabric.js Rect hasControls Property Fabric.js Rect height Property Fabric.js Rect hoverCursor Property Fabric.js Rect left Property Fabric.js Rect lockMovementX Property Fabric.js Rect lockMovementY Property Fabric.js Rect lockRotation Property Fabric.js Rect lockScalingFlip Property Fabric.js Rect lockScalingX Property Fabric.js Rect lockScalingY Property Fabric.js Rect lockSkewingX Property Fabric.js Rect lockSkewingY Property Fabric.js Rect minScaleLimit Property Fabric.js Rect moveCursor Property Fabric.js Rect opacity Property Fabric.js Rect padding Property Fabric.js Rect scaleX Property Fabric.js Rect scaleY Property Fabric.js Rect selectable Property Fabric.js Rect selectionBackgroundColor Property Fabric.js Rect shadow Property Fabric.js Rect skewX Property Fabric.js Rect skewY Property Fabric.js Rect stroke Property Fabric.js Rect strokeDashArray Property Fabric.js Rect strokeUniform Property Fabric.js Rect strokeWidth Property Fabric.js Rect top Property Fabric.js Rect transparentCorners Property Fabric.js Rect visible Property Fabric.js Rect width Property Like Article Suggest improvement Next Fabric.js Line Class Complete Reference Share your thoughts in the comments Add Your Comment Please Login to comment...