Class LineFill

채우기

선 또는 윤곽선의 채우기를 설명합니다.

메서드

메서드반환 유형간략한 설명
getFillType()LineFillType선 채우기 유형을 가져옵니다.
getSolidFill()SolidFill|null선의 단색 채우기를 가져오거나 채우기 유형이 LineFillType.SOLID이 아닌 경우 null를 가져옵니다.
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로 설정합니다.

자세한 문서

getFillType()

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

리턴

LineFillType

승인

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

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

getSolidFill()

선의 단색 채우기를 가져오거나 채우기 유형이 LineFillType.SOLID이 아닌 경우 null를 가져옵니다.

리턴

SolidFill|null

승인

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

  • 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