mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 01:00:43 +00:00
feat!: Masks now support native elements
BREAKING CHANGE: If you had native elements inside any Svg root before, Then your content might change appearance when upgrading, as e.g. transforms and masks now take effect.
This commit is contained in:
@@ -1074,6 +1074,7 @@ If you had native elements inside any Svg root before (which was unsupported),
|
|||||||
Then your content might change appearance when upgrading,
|
Then your content might change appearance when upgrading,
|
||||||
as e.g. transforms and masks now take effect.
|
as e.g. transforms and masks now take effect.
|
||||||
|
|
||||||
|
|
||||||
#### Pattern
|
#### 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.
|
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