PHP Class PhpOffice\PhpPresentation\Style\ColorMap

Afficher le fichier Open project: phpoffice/phppowerpoint

Méthodes publiques

Свойство Type Description
$mappingDefault

Protected Properties

Свойство Type Description
$mapping array Mapping - Stores the mapping betweenSlide and theme

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

Create a new ColorMap with standard values
public __construct ( )

changeColor() public méthode

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

getMapping() public méthode

Get the whole mapping as an array
public getMapping ( ) : array
Résultat array

setMapping() public méthode

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

Property Details

$mapping protected_oe property

Mapping - Stores the mapping betweenSlide and theme
protected array $mapping
Résultat array

$mappingDefault public_oe static_oe property

public static $mappingDefault