Skip to content

toSVG() ignores objects with fill type pattern with patternTransform? #5996

Open
@KristofferBerg

Description

@KristofferBerg

Version

3.5.1

Test Case

http://jsfiddle.net/BrandApp_io/3zk9njxb/48/

Information about environment

Browser: Chrome Version 78.0.3904.70 (Official Build) (64-bit) - on Ubuntu 19

Steps to reproduce

I'm trying to create a "image crop functionality" (a bit like this thread #4606) in my application, and using the fill type: "pattern" on an object (rectangle is used in the JsFiddle), and then further adjust the pattern image with the offsetX and offsetY and scaling with the patternTransform parameters.

Expected Behavior

toSVG() should handle the patternTransform

Actual Behavior

toSVG() seems to ignore patternTransform?

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions