Skip to content

Graphics.beginFill method

Graphics › beginFill

Unofficial

Begins filling a shape with color.

Signature:

beginFill(color?: ColorSource, alpha?: number): this

Parameters:

ParameterTypeDescription
color?ColorSourceFill color.
alpha?numberFill alpha.

Returns: this — This graphics for chaining.