Skip to content

transform matrix documentation. #1899

@vaukalak

Description

@vaukalak

Description

Documentation doesn't mention the matrix transform property, event if it's supported in react-native.

What is the problem?

I see that decomposedMatrix and transformMatrix are marked as deprecated in the doc. However following syntax is not mentioned at all:

<View style={{ transform: [{ matrix: some4x4Matrix }] }} />

So I'm not able to understand is this syntax deprecated / experimental / cross-platform ?

How can we address it?

If the matrix transform is deprecated, it would be great see that mentioned explicitly.
If it's currently supported, and not intended to be deprecated, it would be great to mention that explicitly here. IMHO even if it would be just listed as { matrix: CATransform3D } maybe with link to github file location, it would be a big improbement.

Why is it important?

Creating UI editor apps without using matrix is very hard. When you build a matrix inside your state, it would be great to just pass it to the UI component.

Who needs this?

Everyone who works with matrix transformations.

When should this happen (use version numbers if needed)?

Well, sooner is better :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    👻 Missing DocsDocumentation is missing👋 Good first issueInterested in collaborating? Take a stab at fixing one of these issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions