cristiingineru/rabbit

View on GitHub
API.md

Summary

Maintainability
Test Coverage

# findShapes
# removeShapes
# getBBox

The Canvas functions and properties supported by the **getBBox** function:

| |getBBox|Notes|
|:--|:-:|:--|
|arc|✓| |
|arcTo|✓| |
|beginPath|✓| |
|bezierCurveTo| | |
|clearRect| | |
|clip| | |
|closePath| | |
|context| | |
|createImageData| | |
|createLinearGradient| | |
|createPattern| | |
|createRadialGradient| | |
|drawFocusIfNeeded| | |
|drawImage| | |
|ellipse| | |
|fill|✓| |
|fillRect|✓| |
|fillText| | |
|getContextAttributes| | |
|getImageData| | |
|getLineDash| | |
|isPointInPath| | |
|isPointInStroke| | |
|lineTo|✓| |
|lineWidth|✓| |
|measureText| | |
|moveTo|✓| |
|putImageData| | |
|quadraticCurveTo| | |
|rect|✓| |
|resetTransform| | |
|restore|✓| |
|rotate| | |
|save|✓| |
|scale|✓| |
|setLineDash| | |
|setTransform| | |
|stroke|✓|Only the 'bevel' corner style is supported. The 'round' and 'miter' styles are ignored and the computation will default to 'bevel'. And the same for lineCap: 'round' and 'square' will default to 'butt'.|
|strokeRect|✓| |
|strokeText| | |
|transform| | |
|translate|✓| |


# union
# totalTransform
# isPointInsideRectangle
# customMatchers

## toBePartOf
## toBeInsideTheAreaOf
## toHaveTheSamePositionWith
## toHaveTheSameSizeWith
## toBeHorizontallyAlignWith
## toBeVerticallyAlignWith