Py5Graphics.stroke_join()

Sets the style of the joints which connect line segments.

Description

Sets the style of the joints which connect line segments. These joints are either mitered, beveled, or rounded and specified with the corresponding parameters MITER, BEVEL, and ROUND. The default joint is MITER.

This method is the same as stroke_join() but linked to a Py5Graphics object. To see example code for how it can be used, see stroke_join().

Underlying Java method: PGraphics.strokeJoin

Syntax

stroke_join(join: int, /) -> None

Parameters

  • join: int - either MITER, BEVEL, ROUND

Updated on September 11, 2021 16:51:34pm UTC