Skip to content

Simple class to allow Android Application to draw SVG paths.

Notifications You must be signed in to change notification settings

andreanzi/Android-SVG-path-rendering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Android-SVG-path-rendering

This simple class allows Android Application to draw SVG paths. This class is still a WIP.

Any help would be appreciated.

Based on original Nicolas code

Usage

Drawable drawable = VectorDrawableCreator.getVectorDrawable(this, 24, 24, 100f, 100f, true, 0f, 0f, listOf(VectorDrawableCreator.PathData(customPath, Color.RED, Color.BLACK)))

Feature

Currently attributes supported :

  • height
  • width
  • viewportHeight
  • viewportWidth
  • fillColor
  • pathData
  • strokeWidth
  • strokeColor

The class draws only 1 custom path

About

Simple class to allow Android Application to draw SVG paths.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages