Reference textProperties()

textProperties()

Gets or sets text properties in batch, similar to calling textProperty() multiple times.

If an object is passed in, textProperty(key, value) will be called for you on every key/value pair in the object.

If no arguments are passed in, an object will be returned with all the current properties.

Examples

Syntax

textProperties(properties)
textProperties()

Parameters

properties
Object: An object whose keys are properties to set, and whose values are what they should be set to.

Returns

Object: An object with all the possible properties and their current values.
Notice any errors or typos? Please let us know. Please feel free to edit src/type/textCore.js and open a pull request!

Related References