harjot-oberai / harjot-oberai/VectorMaster

Support for Gradient Fill Colors

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.6k
Forks
165
PR merge metrics
No merged PRs in 30d

Description

I have the following Vector Drawable..

```









```

Unfortunately, since the ```fillColor``` is set to a gradient in the ```fillColorPath``` path, ```PathModel.getFillColor``` returns 0, which is incorrect. I'm gathering this is not supported?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue points to PathModel.getFillColor and the fillColorPath gradient in the supplied Vector Drawable. Start by tracing how that gradient is parsed and represented; done means gradient fills are supported without getFillColor returning 0, with the supplied drawable used to verify the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.