Skip to content

Implement ClipPath #6

Description

@marlenecota

Feature Request

https://github.com/react-native-svg/react-native-svg#clippath
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath

Possible implementation

  • Extends GroupView. Geometry().ComputeBounds() -> CreateLayer(opacity, clipGeometry)
  • Looks like we need to add new BaseProps - "clipPath" and "clipRule" (like same enum as "fillRule")
  • Not a renderable template, so SvgView needs a new map property - "m_clipPaths".

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions