Documentation

Fill
in package
implements ComparableInterface

Table of Contents

Interfaces

ComparableInterface
PhpOffice\PhpPresentation\ComparableInterface.

Constants

FILL_GRADIENT_LINEAR  = 'linear'
FILL_GRADIENT_PATH  = 'path'
FILL_NONE  = 'none'
FILL_PATTERN_DARKDOWN  = 'darkDown'
FILL_PATTERN_DARKGRAY  = 'darkGray'
FILL_PATTERN_DARKGRID  = 'darkGrid'
FILL_PATTERN_DARKHORIZONTAL  = 'darkHorizontal'
FILL_PATTERN_DARKTRELLIS  = 'darkTrellis'
FILL_PATTERN_DARKUP  = 'darkUp'
FILL_PATTERN_DARKVERTICAL  = 'darkVertical'
FILL_PATTERN_GRAY0625  = 'gray0625'
FILL_PATTERN_GRAY125  = 'gray125'
FILL_PATTERN_LIGHTDOWN  = 'lightDown'
FILL_PATTERN_LIGHTGRAY  = 'lightGray'
FILL_PATTERN_LIGHTGRID  = 'lightGrid'
FILL_PATTERN_LIGHTHORIZONTAL  = 'lightHorizontal'
FILL_PATTERN_LIGHTTRELLIS  = 'lightTrellis'
FILL_PATTERN_LIGHTUP  = 'lightUp'
FILL_PATTERN_LIGHTVERTICAL  = 'lightVertical'
FILL_PATTERN_MEDIUMGRAY  = 'mediumGray'
FILL_SOLID  = 'solid'

Properties

$endColor  : Color
End color.
$fillType  : string
Fill type.
$hashIndex  : int
Hash index.
$rotation  : float
Rotation.
$startColor  : Color
Start color.

Methods

__construct()  : mixed
Create a new \PhpOffice\PhpPresentation\Style\Fill.
getEndColor()  : Color
Get End Color.
getFillType()  : string
Get Fill Type.
getHashCode()  : string
Get hash code.
getHashIndex()  : null|int
Get hash index.
getRotation()  : float
Get Rotation.
getStartColor()  : Color
Get Start Color.
setEndColor()  : self
Set End Color.
setFillType()  : self
Set Fill Type.
setHashIndex()  : $this
Set hash index.
setRotation()  : self
Set Rotation.
setStartColor()  : self
Set Start Color.

Constants

FILL_GRADIENT_LINEAR

public mixed FILL_GRADIENT_LINEAR = 'linear'

FILL_GRADIENT_PATH

public mixed FILL_GRADIENT_PATH = 'path'

FILL_NONE

public mixed FILL_NONE = 'none'

FILL_PATTERN_DARKDOWN

public mixed FILL_PATTERN_DARKDOWN = 'darkDown'

FILL_PATTERN_DARKGRAY

public mixed FILL_PATTERN_DARKGRAY = 'darkGray'

FILL_PATTERN_DARKGRID

public mixed FILL_PATTERN_DARKGRID = 'darkGrid'

FILL_PATTERN_DARKHORIZONTAL

public mixed FILL_PATTERN_DARKHORIZONTAL = 'darkHorizontal'

FILL_PATTERN_DARKTRELLIS

public mixed FILL_PATTERN_DARKTRELLIS = 'darkTrellis'

FILL_PATTERN_DARKUP

public mixed FILL_PATTERN_DARKUP = 'darkUp'

FILL_PATTERN_DARKVERTICAL

public mixed FILL_PATTERN_DARKVERTICAL = 'darkVertical'

FILL_PATTERN_GRAY0625

public mixed FILL_PATTERN_GRAY0625 = 'gray0625'

FILL_PATTERN_GRAY125

public mixed FILL_PATTERN_GRAY125 = 'gray125'

FILL_PATTERN_LIGHTDOWN

public mixed FILL_PATTERN_LIGHTDOWN = 'lightDown'

FILL_PATTERN_LIGHTGRAY

public mixed FILL_PATTERN_LIGHTGRAY = 'lightGray'

FILL_PATTERN_LIGHTGRID

public mixed FILL_PATTERN_LIGHTGRID = 'lightGrid'

FILL_PATTERN_LIGHTHORIZONTAL

public mixed FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal'

FILL_PATTERN_LIGHTTRELLIS

public mixed FILL_PATTERN_LIGHTTRELLIS = 'lightTrellis'

FILL_PATTERN_LIGHTUP

public mixed FILL_PATTERN_LIGHTUP = 'lightUp'

FILL_PATTERN_LIGHTVERTICAL

public mixed FILL_PATTERN_LIGHTVERTICAL = 'lightVertical'

FILL_PATTERN_MEDIUMGRAY

public mixed FILL_PATTERN_MEDIUMGRAY = 'mediumGray'

FILL_SOLID

public mixed FILL_SOLID = 'solid'

Properties

$fillType

Fill type.

private string $fillType = self::FILL_NONE

$hashIndex

Hash index.

private int $hashIndex

$rotation

Rotation.

private float $rotation = 0.0

$startColor

Start color.

private Color $startColor

Methods

__construct()

Create a new \PhpOffice\PhpPresentation\Style\Fill.

public __construct() : mixed

getEndColor()

Get End Color.

public getEndColor() : Color
Return values
Color

getFillType()

Get Fill Type.

public getFillType() : string
Return values
string

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getHashIndex()

Get hash index.

public getHashIndex() : null|int

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.

Return values
null|int

Hash index

getRotation()

Get Rotation.

public getRotation() : float
Return values
float

getStartColor()

Get Start Color.

public getStartColor() : Color
Return values
Color

setEndColor()

Set End Color.

public setEndColor(Color $pValue) : self
Parameters
$pValue : Color
Return values
self

setFillType()

Set Fill Type.

public setFillType([string $pValue = self::FILL_NONE ]) : self
Parameters
$pValue : string = self::FILL_NONE

Fill type

Return values
self

setHashIndex()

Set hash index.

public setHashIndex(int $value) : $this

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.

Parameters
$value : int

Hash index

Return values
$this

setRotation()

Set Rotation.

public setRotation([float $pValue = 0 ]) : self
Parameters
$pValue : float = 0
Return values
self

setStartColor()

Set Start Color.

public setStartColor(Color $pValue) : self
Parameters
$pValue : Color
Return values
self

        
On this page

Search results