CornersTrait
trait CornersTrait
Trait CornersTrait
Methods
topLeft(int $radius)
Sets top-left corner radius
topRight(int $radius)
Sets top-right corner radius.
bottomRight(int $radius)
Sets bottom-right corner radius.
bottomLeft(int $radius)
Sets bottom-left corner radius.
setRadius(int $radius)
Sets radius for all corners.
setSymmetricRadius(int $topLeftBottomRight, int $topRightBottomLeft)
Sets radius separately for (top-left, bottom-right) and (top-right, bottom-left) corners.
setPartiallySymmetricRadius(int $topLeft, int $topRightBottomLeft, int $bottomRight)
Sets radius separately for top-left, (top-right, bottom-left) and bottom-right corners.
Details
CornersTrait
topLeft(int $radius)
Sets top-left corner radius
CornersTrait
topRight(int $radius)
Sets top-right corner radius.
CornersTrait
bottomRight(int $radius)
Sets bottom-right corner radius.
CornersTrait
bottomLeft(int $radius)
Sets bottom-left corner radius.
CornersTrait
setRadius(int $radius)
Sets radius for all corners.
CornersTrait
setSymmetricRadius(int $topLeftBottomRight, int $topRightBottomLeft)
Sets radius separately for (top-left, bottom-right) and (top-right, bottom-left) corners.
CornersTrait
setPartiallySymmetricRadius(int $topLeft, int $topRightBottomLeft, int $bottomRight)
Sets radius separately for top-left, (top-right, bottom-left) and bottom-right corners.