Skip to content

Add Text Node #6

@anandology

Description

@anandology

The API

Not sure, if this can be called a shape though.

I'm not completelty sure what would be the right API for this.

t = Text(text="Hello")
t = Text(value="Hello")
t = Text(contents="Hello")

The first one is confusing because the word text is appearing multiple times. I'm not sure either value or contents is the right word.

Reference

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions