Skip to content

Mehdi-Sohrabi0/IOSTextPath

Repository files navigation

IOSTextPath

Platform build

Convert NSAttributedText to CGPath and SVG text path;

Supported attributes are:

  • NSAttributedString.Key.strikethroughStyle
  • NSAttributedString.Key.underlineStyle
  • NSAttributedString.Key.kern
  • NSAttributedString.Key.font
  • NSAttributedString.Key.paragraphStyle
  • Support RTL language
  • Support right alignment texts

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

To install it, simply add the following line to your Podfile:

pod 'EditorTextPath', :git => 'https://github.com/gelatoas/IOSTextPath.git'

You can also use SPM;

Author

Mehdi Sohrabi, mehdok@gmail.com

License

EditorTextPath is available under the MIT license. See the LICENSE file for more info.

Further Reading

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published