Skip to content

Object doesn't support property or method 'line' when trying to rotate a line element #75

@Chr1st1an

Description

@Chr1st1an

Hello,
When I try to apply a rotate transformation to a line element I get the following error:

"Object doesn't support property or method 'line' "

Example code:

var myline = paper.line(150,150,150,260);
myline.transform("rotate(45,150,150)");

Version:
Snap.svg 0.0.1

Regards,
Christian

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions