mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 22:05:14 +00:00
Implement correct path measurement, matrix calculation, getTextAnchorShift, startOffset.
Add method and spacing attributes to textPath. Correct startOffset calculation. Implement method="stretch".
This commit is contained in:
@@ -16,6 +16,8 @@ export default class extends Shape {
|
||||
...pathProps,
|
||||
...fontProps,
|
||||
href: PropTypes.string.isRequired,
|
||||
method: PropTypes.oneOf(['align', 'stretch']),
|
||||
spacing: PropTypes.oneOf(['auto', 'exact']),
|
||||
startOffset: numberProp
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user