BackgroundPixel plugin

Creates a 100x100 flat background square with optional opacity. This is useful when setting as a background image. For use with canvas.img

Example usage

Example 1

BackgroundPixel{Red} example
BackgroundPixel{Red}

Example 2

BackgroundPixel{FF0000,20} example
BackgroundPixel{FF0000,20}

Example 3

BackgroundPixel{FF0000,20,50} example
BackgroundPixel{FF0000,20,50}

Example 4

BackgroundPixel{Color{Green}Opacity{50}Size{200}} example
BackgroundPixel{Color{Green}Opacity{50}Size{200}}

Constructors

Constructor 1

BackgroundPixel{Color,Opacity}

Available properties

Opacity - Number
Color - ImgBagColor
Size - Number