PHP Class PhpOffice\PhpPresentation\Shape\AbstractGraphic

Inheritance: extends PhpOffice\PhpPresentation\AbstractShape, implements PhpOffice\PhpPresentation\ComparableInterface
Afficher le fichier Open project: phpoffice/phppowerpoint Class Usage Examples

Méthodes publiques

Свойство Type Description
$relationId string Slide relation ID (should not be used by user code!)

Protected Properties

Свойство Type Description
$description string Description
$name string Name
$resizeProportional boolean Proportional resize

Méthodes publiques

Méthode 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 méthode

public __clone ( )

__construct() public méthode

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

getDescription() public méthode

Get Description
public getDescription ( ) : string
Résultat string

getHashCode() public méthode

Get hash code
public getHashCode ( ) : string
Résultat string Hash code

getImageIndex() public méthode

Get image index
public getImageIndex ( ) : integer
Résultat integer

getName() public méthode

Get Name
public getName ( ) : string
Résultat string

isResizeProportional() public méthode

Get ResizeProportional
public isResizeProportional ( ) : boolean
Résultat boolean

setDescription() public méthode

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

setHeight() public méthode

Set Height
public setHeight ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue integer
Résultat PhpOffice\PhpPresentation\Shape\AbstractDrawing

setName() public méthode

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

setResizeProportional() public méthode

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

setWidth() public méthode

Set Width
public setWidth ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue integer
Résultat PhpOffice\PhpPresentation\Shape\AbstractDrawing

setWidthAndHeight() public méthode

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
Résultat PhpOffice\PhpPresentation\Shape\AbstractDrawing

Property Details

$description protected_oe property

Description
protected string $description
Résultat string

$name protected_oe property

Name
protected string $name
Résultat string

$relationId public_oe property

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

$resizeProportional protected_oe property

Proportional resize
protected bool $resizeProportional
Résultat boolean