Py5Graphics.curve_detail()

Py5Graphics.curve_detail()#

Sets the resolution at which curves display.

Description#

Sets the resolution at which curves display. The default value is 20. This function is only useful when using the P3D renderer as the default P2D renderer does not use this information.

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

Underlying Processing method: PGraphics.curveDetail

Signatures#

curve_detail(
    detail: int,  # resolution of the curves
    /,
) -> None

Updated on March 06, 2023 02:49:26am UTC