PHP Класс PhpOffice\PhpPresentation\Shape\AbstractGraphic

Наследование: extends PhpOffice\PhpPresentation\AbstractShape, implements PhpOffice\PhpPresentation\ComparableInterface
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$relationId string Slide relation ID (should not be used by user code!)

Защищенные свойства (Protected)

Свойство Тип Описание
$description string Description
$name string Name
$resizeProportional boolean Proportional resize

Открытые методы

Метод Описание
__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

Описание методов

__clone() публичный Метод

public __clone ( )

__construct() публичный Метод

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

getDescription() публичный Метод

Get Description
public getDescription ( ) : string
Результат string

getHashCode() публичный Метод

Get hash code
public getHashCode ( ) : string
Результат string Hash code

getImageIndex() публичный Метод

Get image index
public getImageIndex ( ) : integer
Результат integer

getName() публичный Метод

Get Name
public getName ( ) : string
Результат string

isResizeProportional() публичный Метод

Get ResizeProportional
public isResizeProportional ( ) : boolean
Результат boolean

setDescription() публичный Метод

Set Description
public setDescription ( string $pValue = '' ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue string
Результат PhpOffice\PhpPresentation\Shape\AbstractDrawing

setHeight() публичный Метод

Set Height
public setHeight ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue integer
Результат PhpOffice\PhpPresentation\Shape\AbstractDrawing

setName() публичный Метод

Set Name
public setName ( string $pValue = '' ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue string
Результат PhpOffice\PhpPresentation\Shape\AbstractDrawing

setResizeProportional() публичный Метод

Set ResizeProportional
public setResizeProportional ( boolean $pValue = true ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue boolean
Результат PhpOffice\PhpPresentation\Shape\AbstractDrawing

setWidth() публичный Метод

Set Width
public setWidth ( integer $pValue ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$pValue integer
Результат PhpOffice\PhpPresentation\Shape\AbstractDrawing

setWidthAndHeight() публичный Метод

Set width and height with proportional resize
Автор: Vincent@luo MSN:[email protected]
public setWidthAndHeight ( integer $width, integer $height ) : PhpOffice\PhpPresentation\Shape\AbstractDrawing
$width integer
$height integer
Результат PhpOffice\PhpPresentation\Shape\AbstractDrawing

Описание свойств

$description защищенное свойство

Description
protected string $description
Результат string

$name защищенное свойство

Name
protected string $name
Результат string

$relationId публичное свойство

Slide relation ID (should not be used by user code!)
public string $relationId
Результат string

$resizeProportional защищенное свойство

Proportional resize
protected bool $resizeProportional
Результат boolean