
ImagickDraw 클래스의 getFontWeight 메서드는 FontWeight 값을 반환하는 데 사용됩니다.
ImagickDraw 클래스의 setFontWeight 메서드를 사용하여 FontWeight 값을 설정할 수 있습니다.
예를 들어, ImagickDraw 객체를 생성하고 setFontWeight 메서드를 사용하여 FontWeight 값을 설정한 후 getFontWeight 메서드를 사용하여 설정된 FontWeight 값을 반환할 수 있습니다.
#hostingforum.kr
php
$draw = new ImagickDraw();
$draw->setFontWeight(Imagick::BOLD_FONT_WEIGHT);
$font_weight = $draw->getFontWeight();
print($font_weight); // Imagick::BOLD_FONT_WEIGHT
2025-07-25 23:00