PHP Class PhpOffice\PhpPresentation\Shape\AbstractGraphic

Inheritance: extends PhpOffice\PhpPresentation\AbstractShape, implements PhpOffice\PhpPresentation\ComparableInterface
ファイルを表示 Open project: phpoffice/phppowerpoint Class Usage Examples

Public Properties

Property Type Description
$relationId string Slide relation ID (should not be used by user code!)

Protected Properties

Property Type Description
$description string Description
$name string Name
$resizeProportional boolean Proportional resize

Public Methods

Method Description
__clone ( )
__construct ( ) Create a new \PhpOffice\PhpPresentation\Slide\AbstractDrawing
getDescription ( ) : string Get Description
getHashCode ( ) : string Get hash code
getImageIndex ( ) : integer Get image index
getName ( ) : string Get Name
isResizeProportional ( ) : boolean Get ResizeProportional
setDescription ( string $pValue = '' ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing Set Description
setHeight ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing Set Height
setName ( string $pValue = '' ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing Set Name
setResizeProportional ( boolean $pValue = true ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing Set ResizeProportional
setWidth ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing Set Width
setWidthAndHeight ( integer $width, integer $height ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing Set width and height with proportional resize

Method Details

__clone() public method

public __clone ( )

__construct() public method

Create a new \PhpOffice\PhpPresentation\Slide\AbstractDrawing
public __construct ( )

getDescription() public method

Get Description
public getDescription ( ) : string
return string

getHashCode() public method

Get hash code
public getHashCode ( ) : string
return string Hash code

getImageIndex() public method

Get image index
public getImageIndex ( ) : integer
return integer

getName() public method

Get Name
public getName ( ) : string
return string

isResizeProportional() public method

Get ResizeProportional
public isResizeProportional ( ) : boolean
return boolean

setDescription() public method

Set Description
public setDescription ( string $pValue = '' ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue string
return PhpOffice\PhpPresentation\Shape\AbstractDrawing

setHeight() public method

Set Height
public setHeight ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue integer
return PhpOffice\PhpPresentation\Shape\AbstractDrawing

setName() public method

Set Name
public setName ( string $pValue = '' ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue string
return PhpOffice\PhpPresentation\Shape\AbstractDrawing

setResizeProportional() public method

Set ResizeProportional
public setResizeProportional ( boolean $pValue = true ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue boolean
return PhpOffice\PhpPresentation\Shape\AbstractDrawing

setWidth() public method

Set Width
public setWidth ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue integer
return PhpOffice\PhpPresentation\Shape\AbstractDrawing

setWidthAndHeight() public method

Set width and height with proportional resize
Author: Vincent@luo MSN:[email protected]
public setWidthAndHeight ( integer $width, integer $height ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$width integer
$height integer
return PhpOffice\PhpPresentation\Shape\AbstractDrawing

Property Details

$description protected_oe property

Description
protected string $description
return string

$name protected_oe property

Name
protected string $name
return string

$relationId public_oe property

Slide relation ID (should not be used by user code!)
public string $relationId
return string

$resizeProportional protected_oe property

Proportional resize
protected bool $resizeProportional
return boolean