Imagick::setFont
(PECL imagick 2.1.0)
Imagick::setFont — Sets the image bias for any method that convolves an image
설명
bool Imagick::setFont
( string $font
)
Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.
Warning
이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.
Sets object's font property. This method can be used for example to set font for caption: pseudo-format. This method is available if Imagick is compile against at least version 6.3.6-4 of ImageMagick.
인수
- font
-
Font name or a filename
반환값
성공시에 TRUE를 반환합니다.
예제
Example #1 A Imagick::setFont() example
Example of using Imagick::setFont
<?php
/* Create new imagick object */
$im = new Imagick();
/* Set the font for the object */
$im->setFont("example.ttf");
/* Create new caption */
$im->newPseudoImage(100, 100, "caption:Hello");
/* Do something with the image */
?>
Imagick::setFont
There are no user contributed notes for this page.
