PHP Класс PhpOffice\PhpPresentation\Style\ColorMap

Показать файл Открыть проект

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

Свойство Тип Описание
$mappingDefault

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

Свойство Тип Описание
$mapping array Mapping - Stores the mapping betweenSlide and theme

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

Метод Описание
__construct ( ) ColorMap constructor.
changeColor ( string $item, string $newThemeColor ) Change the color of one of the elements in the map
getMapping ( ) : array Get the whole mapping as an array
setMapping ( array $arrayMapping = [] ) Store a new map. For use with the reader

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

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

Create a new ColorMap with standard values
public __construct ( )

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

Change the color of one of the elements in the map
public changeColor ( string $item, string $newThemeColor )
$item string
$newThemeColor string

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

Get the whole mapping as an array
public getMapping ( ) : array
Результат array

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

Store a new map. For use with the reader
public setMapping ( array $arrayMapping = [] )
$arrayMapping array

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

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

Mapping - Stores the mapping betweenSlide and theme
protected array $mapping
Результат array

$mappingDefault публичное статическое свойство

public static $mappingDefault