Merge pull request #14740 from Greg15153/master

Added background to set background color in gm
This commit is contained in:
Mine Starks
2017-03-08 00:35:36 -08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ gm(src)
.authenticate(password)
.autoOrient()
.backdrop()
.background(color)
.bitdepth(bits)
.blackThreshold(intensity)
.blackThreshold(r, g, b)

1
gm/index.d.ts vendored
View File

@@ -108,6 +108,7 @@ declare namespace m {
authenticate(password: string): State;
autoOrient(): State;
backdrop(): State;
background(color: string): State;
bitdepth(bits: number): State;
blackThreshold(intensity: number): State;
blackThreshold(red: number, green: number, blue: number, opacity?: number): State;