textLeading()

Typography / Attributes

Description

Sets the spacing between lines of text in units of pixels.

Syntax

void textLeading(float leading)

Parameters

NameTypeDescription
leadingfloatspacing between lines

Returns

void

Related

Under the Hood

From Processing.h:

void textLeading(float leading);

Under the Hood

From Processing.cpp:

void PApplet::textLeading(float v) { g_textLeading = v; }