PHP 클래스 ImboIntegrationTest\Image\Transformation\WatermarkTest

상속: extends ImboIntegrationTest\Image\Transformation\TransformationTests
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
getParamsForWatermarks ( ) : array[] Data provider
testApplyToImageTopLeftWithOnlyWidthAndDefaultWatermark ( $params, $colors )

보호된 메소드들

메소드 설명
getTransformation ( )
verifyColor ( Imagick $imagick, integer $x, integer $y, array $expectedRgb ) Verifies that the given image has a pixel with the given color value at the given position

메소드 상세

getParamsForWatermarks() 공개 메소드

Data provider
public getParamsForWatermarks ( ) : array[]
리턴 array[]

getTransformation() 보호된 메소드

protected getTransformation ( )

testApplyToImageTopLeftWithOnlyWidthAndDefaultWatermark() 공개 메소드

verifyColor() 보호된 메소드

Verifies that the given image has a pixel with the given color value at the given position
protected verifyColor ( Imagick $imagick, integer $x, integer $y, array $expectedRgb )
$imagick Imagick The imagick instance to verify
$x integer X position to check
$y integer Y position to check
$expectedRgb array Expected color value, in RGB format, as array