Skip to content

Bug: Text gradient fill doesn't work as written in documentation #10926

@sam007mac

Description

@sam007mac

Current Behavior

Text created with a fill as an array of strings throws an error, even though the documentation indicates that it should work.

Expected Behavior

Text created with a fill as an array of strings should display as indicated in the documentation.

Steps to Reproduce

https://www.pixiplayground.com/#/edit/wQz19Pb9Mr73Rqr5VwXO6

There are two Text instances in the playground, one of which doesn't show due to the error.
The current documentation indicates that it should work.

Environment

Possible Solution

Preferred solution:

  • pixijs is updated so that text fill gradients work as shown in the documentation.

Alternate solution:

  • Documentation is updated to remove the issue.

Additional Information

No response

Metadata

Metadata

Assignees

Labels

priority: normalImportant but not blocking the next releasescope: textIssue related to generic text rendering or layout

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions