PHP Class PhpOffice\PhpPresentation\Shape\Group

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

Protected Properties

Свойство Type Description
$extentX integer Extent X
$extentY integer Extent Y

Méthodes publiques

Méthode Description
__construct ( )
addShape ( AbstractShape $shape ) : AbstractShape Add shape to slide
createChartShape ( ) : Chart Create chart shape
createDrawingShape ( ) : File Create drawing shape
createLineShape ( integer $fromX, integer $fromY, integer $toX, integer $toY ) : Line Create line shape
createRichTextShape ( ) : RichText Create rich text shape
createTableShape ( integer $columns = 1 ) : Table Create table shape
getExtentX ( ) : integer Get X Extent
getExtentY ( ) : integer Get Y Extent
getOffsetX ( ) : integer Get X Offset
getOffsetY ( ) : integer Get Y Offset
getShapeCollection ( ) : ArrayObject Get collection of shapes
setHeight ( integer $pValue ) : self Ignores setting the height, preserving the default behavior.
setOffsetX ( integer $pValue ) : self Ignores setting the X Offset, preserving the default behavior.
setOffsetY ( integer $pValue ) : self Ignores setting the Y Offset, preserving the default behavior.
setWidth ( integer $pValue ) : self Ignores setting the width, preserving the default behavior.

Method Details

__construct() public méthode

public __construct ( )

addShape() public méthode

Add shape to slide
public addShape ( AbstractShape $shape ) : AbstractShape
$shape PhpOffice\PhpPresentation\AbstractShape
Résultat PhpOffice\PhpPresentation\AbstractShape

createChartShape() public méthode

Create chart shape
public createChartShape ( ) : Chart
Résultat Chart

createDrawingShape() public méthode

Create drawing shape
public createDrawingShape ( ) : File
Résultat PhpOffice\PhpPresentation\Shape\Drawing\File

createLineShape() public méthode

Create line shape
public createLineShape ( integer $fromX, integer $fromY, integer $toX, integer $toY ) : Line
$fromX integer Starting point x offset
$fromY integer Starting point y offset
$toX integer Ending point x offset
$toY integer Ending point y offset
Résultat Line

createRichTextShape() public méthode

Create rich text shape
public createRichTextShape ( ) : RichText
Résultat RichText

createTableShape() public méthode

Create table shape
public createTableShape ( integer $columns = 1 ) : Table
$columns integer Number of columns
Résultat Table

getExtentX() public méthode

Get X Extent
public getExtentX ( ) : integer
Résultat integer

getExtentY() public méthode

Get Y Extent
public getExtentY ( ) : integer
Résultat integer

getOffsetX() public méthode

Get X Offset
public getOffsetX ( ) : integer
Résultat integer

getOffsetY() public méthode

Get Y Offset
public getOffsetY ( ) : integer
Résultat integer

getShapeCollection() public méthode

Get collection of shapes
public getShapeCollection ( ) : ArrayObject
Résultat ArrayObject

setHeight() public méthode

Ignores setting the height, preserving the default behavior.
public setHeight ( integer $pValue ) : self
$pValue integer
Résultat self

setOffsetX() public méthode

Ignores setting the X Offset, preserving the default behavior.
public setOffsetX ( integer $pValue ) : self
$pValue integer
Résultat self

setOffsetY() public méthode

Ignores setting the Y Offset, preserving the default behavior.
public setOffsetY ( integer $pValue ) : self
$pValue integer
Résultat self

setWidth() public méthode

Ignores setting the width, preserving the default behavior.
public setWidth ( integer $pValue ) : self
$pValue integer
Résultat self

Property Details

$extentX protected_oe property

Extent X
protected int $extentX
Résultat integer

$extentY protected_oe property

Extent Y
protected int $extentY
Résultat integer