Comments (5)
Can you share the Vector you are using, I screwed up one transformation inside ClipPathModel
, so if your vector contains clippath
then it should work now. Just share the vector file with me, so I can test my changes and push the latest version
from vectormaster.
This is my vector:
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="36dp"
android:height="72dp"
android:viewportWidth="36.0"
android:viewportHeight="72.0">
<path
android:name="background"
android:pathData=" M6,2 A4,4 0 0 0 2,6
L2,66 A4,4 0 0 0 6,70
L30,70 A4,4 0 0 0 34,66
L34,6 A4,4 0 0 0 30,2"
android:strokeLineCap="round"
android:fillColor="#222222"
android:strokeWidth="0.6"
android:strokeLineJoin="round"/>
<clip-path
android:name="mask"
android:pathData=" M6,2 A4,4 0 0 0 2,6
L2,66 A4,4 0 0 0 6,70
L30,70 A4,4 0 0 0 34,66
L34,6 A4,4 0 0 0 30,2"
android:strokeLineCap="round"
android:fillColor="#fff"
android:strokeLineJoin="round"/>
<path
android:name="foreground"
android:pathData="M18,2 L2,2 L2,70 L34,70 L34,2 Z"
android:strokeLineCap="round"
android:fillColor="#14a"
android:strokeLineJoin="round" />
</vector>
from vectormaster.
I have updated to the library to version 1.1.3
. Please test with the updated code.
from vectormaster.
Well, did it solve your problem ?
from vectormaster.
Yes, it works now.
Sorry for the delay, but I was using this library at work, and I had to find a different solution. I had the opportunity to try 1.1.3
just now.
Thank you
from vectormaster.
Related Issues (20)
- API 16 not visible VectorMasterView, VectorMasterDrawable HOT 4
- drawable resources versus xml (suggestion) HOT 1
- how i can path name on vector clicked ? HOT 2
- Multiply path scale problem HOT 1
- Set app:vector_src Programmatically HOT 2
- Vector with multiple paths is drawn with only one
- Gradients not supported?
- Exception during setContentView HOT 3
- Black patch appearing in the middle of the vector.
- Utils.getVectorModel HOT 1
- Performance issue
- Resize Vector
- Support for Gradient Fill Colors
- Question: possible to decode VectorDrawable from byte array?
- Support color resources for fillColor, strokeColor
- Is there a way of using VectorMaster with remote views? HOT 1
- migrate to mavencentral HOT 2
- No option to update vector model
- Bug: VectorDrawable not shown correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vectormaster.