Fixed Pointer color problem

Fixed the problem with pointer color, that maked all pointers to have the properties of the last definition.
Fixed linear gradient error with its width.
Added a properties property for detailed specification of gradient colors: gradientColors, which is spected to be an Array, where each entry is an two entry Array, with the parameters to addColorStop function.