mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-05 22:56:11 +00:00
feat!: note about masks and native elements as ancestors of svg
BREAKING CHANGE
This commit is contained in:
@@ -1069,6 +1069,11 @@ Code explanation: <https://www.w3.org/TR/SVG11/masking.html#MaskElement>
|
||||
|
||||

|
||||
|
||||
v10 adds experimental support for using masks together with native elements.
|
||||
If you had native elements inside any Svg root before (which was unsupported),
|
||||
Then your content might change appearance when upgrading,
|
||||
as e.g. transforms and masks now take effect.
|
||||
|
||||
#### Pattern
|
||||
|
||||
A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using a ‘pattern’ element and then referenced by properties ‘fill’ and ‘stroke’ on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern.
|
||||
|
||||
Reference in New Issue
Block a user