PHP 클래스 PhpOffice\PhpPresentation\Style\ColorMap

파일 보기 프로젝트 열기: phpoffice/phppowerpoint

공개 프로퍼티들

프로퍼티 타입 설명
$mappingDefault

보호된 프로퍼티들

프로퍼티 타입 설명
$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