See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401]
(no description)
File Size: | 347 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Fill:: (15 methods):
__construct()
getSharedComponent()
getStyleArray()
applyFromArray()
getFillType()
setFillType()
getRotation()
setRotation()
getStartColor()
setStartColor()
getEndColor()
setEndColor()
getColorsChanged()
getHashCode()
exportArray1()
__construct($isSupervisor = false, $isConditional = false) X-Ref |
Create a new Fill. param: bool $isSupervisor Flag indicating if this is a supervisor or not param: bool $isConditional Flag indicating if this is a conditional style or not |
getSharedComponent() X-Ref |
Get the shared style component for the currently active cell in currently active sheet. Only used for style supervisor. return: Fill |
getStyleArray($array) X-Ref |
Build style array from subcomponents. param: array $array return: array |
applyFromArray(array $styleArray) X-Ref |
Apply styles from array. <code> $spreadsheet->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray( [ 'fillType' => Fill::FILL_GRADIENT_LINEAR, 'rotation' => 0.0, 'startColor' => [ 'rgb' => '000000' ], 'endColor' => [ 'argb' => 'FFFFFFFF' ] ] ); </code> param: array $styleArray Array containing style information return: $this |
getFillType() X-Ref |
Get Fill Type. return: null|string |
setFillType($fillType) X-Ref |
Set Fill Type. param: string $fillType Fill type, see self::FILL_* return: $this |
getRotation() X-Ref |
Get Rotation. return: float |
setRotation($angleInDegrees) X-Ref |
Set Rotation. param: float $angleInDegrees return: $this |
getStartColor() X-Ref |
Get Start Color. return: Color |
setStartColor(Color $color) X-Ref |
Set Start Color. return: $this |
getEndColor() X-Ref |
Get End Color. return: Color |
setEndColor(Color $color) X-Ref |
Set End Color. return: $this |
getColorsChanged() X-Ref |
No description |
getHashCode() X-Ref |
Get hash code. return: string Hash code |
exportArray1() X-Ref |
No description |