Sets the spacing between lines of text in units of pixels. This setting will be used in all subsequent calls to the Ptext function. Note, however, that the leading is reset by PtextSize. For example, if the leading is set to 20 with 20 PtextLeading, then if 48 PtextSize is run at a later point, the leading will be reset to the default for the text size of 48.

Link to original Processing doc

PtextLeading is available since version 1.0.0.

See also



// @preview image 400 200 '2D2' PGraphics 255 Pbackground 0 Pfill 64 PtextSize 48 PtextLeading 'CENTER' 'CENTER' PtextAlign //in WarpScript, strings are url encoded. 'ouiche%0Alorraine' 200 100 Ptext Pencode