Table of Contents

Pixel.new

Available since version: Gideros 2016.06

Description:

Create new pixel

Syntax:

Pixel.new([color, alpha, width, height])

Parameters:

  • color: (number) hex value representing color
  • alpha: (number) alpha value from 0 to 1
  • width: (number) width of pixel
  • height: (number) height of pixel