Paint Object

Purpose:

Returns the handle of a new paint object;

Syntax:

paint.methodname

where methodname is one of the following

setStrokeWidth
setStyle
setTextSize
setColor
setPathEffect
getColor

 

Comments:

Not required in most program since an internal variable paint is already defined.

Example

 

pai = paint()