visible([visible])

Class: Line. Method inherited from Shape.

Description:

Sets or gets whether the shape is visible.

Parameters:

Name Type Description

[visible]

boolean

true to show, false to hide.

Returns:

When setting a value, this shape is returned; otherwise current value is returned.

Type: boolean | Shape