Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added CroppedImage
  • Loading branch information
anselmdk committed Sep 23, 2012
1 parent 0b17e00 commit 0df9b1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/reference/image.md
Expand Up @@ -96,6 +96,7 @@ For output of an image tag with the image automatically resized to 80px width, y
$Image.SetHeight(80) // returns a image 80px tall, ration kept the same
$Image.SetSize(80,80) // returns a 80x80px padded image
$Image.SetRatioSize(80,80) // Returns an image scaled proportional, with its greatest diameter scaled to 80px
$Image.CroppedImage(80,80) // Returns an 80x80 image cropped from the center.
$Image.PaddedImage(80, 80) // Returns an 80x80 image. Unused space is padded white. No crop. No stretching
$Image.Width // returns width of image
$Image.Height // returns height of image
Expand Down

0 comments on commit 0df9b1c

Please sign in to comment.