Class Fill

Fill

페이지 요소의 배경을 설명합니다.

메서드

메서드반환 유형간략한 설명
getSolidFill()SolidFill|null이 배경의 단색 채우기를 가져옵니다. 채우기 유형이 FillType.SOLID이 아닌 경우 null을 가져옵니다.
getType()FillType이 채우기의 유형을 가져옵니다.
isVisible()Boolean배경이 표시되는지 여부입니다.
setSolidFill(color)void단색 채우기를 지정된 Color로 설정합니다.
setSolidFill(color, alpha)void단색 채우기를 지정된 알파 및 Color로 설정합니다.
setSolidFill(red, green, blue)void단색 채우기를 지정된 RGB 값으로 설정합니다.
setSolidFill(red, green, blue, alpha)void단색 채우기를 지정된 알파 및 RGB 값으로 설정합니다.
setSolidFill(hexString)void단색 채우기를 지정된 16진수 색상 문자열로 설정합니다.
setSolidFill(hexString, alpha)void단색 채우기를 지정된 알파 및 16진수 색상 문자열로 설정합니다.
setSolidFill(color)void단색 채우기를 지정된 ThemeColorType로 설정합니다.
setSolidFill(color, alpha)void단색 채우기를 지정된 알파 및 ThemeColorType로 설정합니다.
setTransparent()void배경을 투명으로 설정합니다.

자세한 문서

getSolidFill()

이 배경의 단색 채우기를 가져옵니다. 채우기 유형이 FillType.SOLID이 아닌 경우 null을 가져옵니다.

리턴

SolidFill|null - 단색 채우기 설정입니다. 이 채우기 유형이 단색이 아닌 경우 null입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getType()

이 채우기의 유형을 가져옵니다.

리턴

FillType: 이 채우기의 유형입니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

isVisible()

배경이 표시되는지 여부입니다.

리턴

Boolean: 배경이 표시되면 true, 그렇지 않으면 false

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(color)

단색 채우기를 지정된 Color로 설정합니다.

매개변수

이름유형설명
colorColor

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(color, alpha)

단색 채우기를 지정된 알파 및 Color로 설정합니다.

매개변수

이름유형설명
colorColor
alphaNumber

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(red, green, blue)

단색 채우기를 지정된 RGB 값으로 설정합니다.

매개변수

이름유형설명
redInteger
greenInteger
blueInteger

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(red, green, blue, alpha)

단색 채우기를 지정된 알파 및 RGB 값으로 설정합니다.

매개변수

이름유형설명
redInteger
greenInteger
blueInteger
alphaNumber

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(hexString)

단색 채우기를 지정된 16진수 색상 문자열로 설정합니다.

16진수 문자열은 '#RRGGBB' 형식이어야 합니다. 예를 들어 분홍색은 '#FFC0CB'로 표시됩니다.

매개변수

이름유형설명
hexStringString

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(hexString, alpha)

단색 채우기를 지정된 알파 및 16진수 색상 문자열로 설정합니다.

16진수 문자열은 '#RRGGBB' 형식이어야 합니다. 예를 들어 분홍색은 '#FFC0CB'로 표시됩니다.

매개변수

이름유형설명
hexStringString
alphaNumber

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(color)

단색 채우기를 지정된 ThemeColorType로 설정합니다.

매개변수

이름유형설명
colorThemeColorType

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setSolidFill(color, alpha)

단색 채우기를 지정된 알파 및 ThemeColorType로 설정합니다.

매개변수

이름유형설명
colorThemeColorType
alphaNumber

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

setTransparent()

배경을 투명으로 설정합니다.

승인

이 메서드를 사용하는 스크립트에는 다음 범위 중 하나 이상의 승인이 필요합니다.

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations