G プロパティ

クラス

Color

アクション

色のグリーン RGB チャンネルの値を取得します。

構文

Public Readonly Property G As Integer

アクセス

読み取り専用。

シアンのグリーン RGB チャンネルの値を取得するには、次のように入力します。
'VB code
Public Sub Main()
	 Dim myColor As Color(0,255,255,255)
  Dim greenValue As Integer
  greenValue = myColor.G()
End Sub