색상의 알파(투명도) 값을 가져옵니다.
alpha() a에서 알파 값을 추출합니다 p5.Color 객체, 색의 배열 구성요소, 또는 CSS 컬러 스트링.
예제
구문
알파(색상)
매개변수
색상
p5.Color|Number[]|String:
p5.Color 개체, 배열 색상 구성 요소 또는 CSS 색상 문자열.
Returns
숫자(Number): 알파값(the alpha value)
This page is generated from the comments in src/color/creating_reading.js . Please feel free to edit it and submit a pull request!