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진수 색상 문자열로 설정합니다.

매개변수

이름유형설명
hexStringString16진수 색상 문자열입니다.

승인

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

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

setSolidFill(hexString, alpha)

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

매개변수

이름유형설명
hexStringString16진수 색상 문자열입니다.
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