ImagickDraw::setViewbox
(No version information available, might be only in CVS)
ImagickDraw::setViewbox — Sets the overall canvas size
說明
bool ImagickDraw::setViewbox
( int $x1
, int $y1
, int $x2
, int $y2
)
Warning
此函式目前沒有參考文件;只有引數列表。
Warning
本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。
Sets the overall canvas size to be recorded with the drawing vector data. Usually this will be specified using the same size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.
參數
- x1
-
left x coordinate
- y1
-
left y coordinate
- x2
-
right x coordinate
- y2
-
right y coordinate
Return值
無回傳值。