在线文档教程
PHP
Image/GraphicsMagick

GmagickDraw::scale

GmagickDraw::scale

(PECL gmagick >= Unknown)

GmagickDraw::scale — Adjusts the scaling factor

Description

public GmagickDraw GmagickDraw::scale ( float $x , float $y )

Adjusts the scaling factor to apply in the horizontal and vertical directions to the current coordinate space.

Parameters

x

horizontal scale factor

y

vertical scale factor

Return Values

The GmagickDraw object on success

← GmagickDraw::roundrectangle

GmagickDraw::setfillcolor →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/gmagickdraw.scale.php