From 0df9b1c8a0b6e8d4d1fa591a1499d69775f95b53 Mon Sep 17 00:00:00 2001 From: Anselm Christophersen Date: Sun, 23 Sep 2012 19:46:06 +0300 Subject: [PATCH] added CroppedImage --- docs/en/reference/image.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/reference/image.md b/docs/en/reference/image.md index 53d7245aa05..28035f1f6b1 100644 --- a/docs/en/reference/image.md +++ b/docs/en/reference/image.md @@ -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