paper()
テキスト背景色を設定する。colorを省略した場合は現在の背景色を返す。
書式:
paper( color
)
variable
= paper()
colorはUint32で指定する。
rgb()コマンドでRGBに変換出来る。戻り値はUint32フォーマット。
例:
paper( 16711680
)
printS("this is a red background")
printS( "background color = Uint32 " & paper()
)
paper( 0x0000ff )
printS("this is a blu background")
printS( "background color = Uint32 " & paper()
)
paper( rgb(0,255,0)
)
printS("this is a green background")
printS( "background color = Uint32 " & paper()
)
waitKey