PHP 클래스 Horde_Image_Effect_Im_PhotoStack, horde

The technique for the Polaroid-like stack using the Imagick extension is credited to Mikko Koppanen and is documented at http://valokuva.org
저자: Michael J. Rubinsky ([email protected])
상속: extends Horde_Image_Effect
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_params array - type: (string) Determines the style for the composition. 'plain' or 'polaroid' are supported. - resize_height: (integer) The height that each individual thumbnail should be resized to before composing on the image. - padding: (integer) How much padding should we ensure is left around the active image area? - background: (string) The background canvas color - this is used as the color to set any padding to. - bordercolor: (string) If using type 'plain' this sets the color of the border that each individual thumbnail gets. - borderwidth: (integer) If using type 'plain' this sets the width of the border on each individual thumbnail. - offset: (integer) If using type 'plain' this determines the amount of x and y offset to give each successive image when it is placed on the top of the stack.

공개 메소드들

메소드 설명
apply ( ) Applies the effect.

비공개 메소드들

메소드 설명
_roundBorder ( $image )

메소드 상세

apply() 공개 메소드

Applies the effect.
public apply ( )

프로퍼티 상세

$_params 보호되어 있는 프로퍼티

- type: (string) Determines the style for the composition. 'plain' or 'polaroid' are supported. - resize_height: (integer) The height that each individual thumbnail should be resized to before composing on the image. - padding: (integer) How much padding should we ensure is left around the active image area? - background: (string) The background canvas color - this is used as the color to set any padding to. - bordercolor: (string) If using type 'plain' this sets the color of the border that each individual thumbnail gets. - borderwidth: (integer) If using type 'plain' this sets the width of the border on each individual thumbnail. - offset: (integer) If using type 'plain' this determines the amount of x and y offset to give each successive image when it is placed on the top of the stack.
protected array $_params
리턴 array