PHP 클래스 Imbo\Image\Transformation\Border

저자: Christer Edvartsen ([email protected])
상속: extends Transformation, implements Imbo\EventListener\ListenerInterface
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
getSubscribedEvents ( )
transform ( Imbo\EventManager\EventInterface $event ) Transform the image

비공개 메소드들

메소드 설명
drawBorderInside ( string $color, integer $borderWidth, integer $borderHeight, Image $image ) Draw border inside (on top of) the existing image
expandImage ( string $color, integer $borderWidth, integer $borderHeight, Image $image ) Expand the image so that we can fit the width and height of the borders specified on each side, than copy the original image to the center of the canvas.

메소드 상세

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

transform() 공개 메소드

Transform the image
public transform ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The event instance