ShapeAPI.overrideDefaultFillStyle

 

long overrideDefaultFillStyle(int fillStyleEnum)

This method sets the current default fill style for subsequently created shapes to fillStyleEnum. (See Fill Styles)

The method returns 0 upon success, and an error code if fillStyleEnum is invalid.