CairoImageSurface
PHP Manual

CairoImageSurface::getWidth

(PECL cairo >= 0.1.0)

CairoImageSurface::getWidthRetrieves the width of the CairoImageSurface

タ篶タ

public int CairoImageSurface::getWidth ( void )

Gets the width of the CairoImageSurface

・ム・鬣癸シ・ソ

、ウ、ホエリソヒ、マ・ム・鬣癸シ・ソ、マ、「、熙゙、サ、」

ハヨ、�ヘ

Returns the width of the CairoImageSurface object

ホ�

ホ�1 CairoImageSurface::getWidth() example

<?php
// creates a new image surface
$surface = new CairoImageSurface(CairoFormat::ARGB328050);

//gets the width
var_dump($surface->getWidth());

?>

セ螟ホホ网ホスミホマ、マ。「 、ソ、ネ、ィ、ミーハイシ、ホ、隍ヲ、ヒ、ハ、熙゙、ケ。」

int(80)

サイケヘ


CairoImageSurface
PHP Manual