Comments (2)
Now, supported by a new version 0.8.3
Usage
compile 'cn.gavinliu.android.lib:ShapedImageView:0.8.3'
public void setShape(int shapeMode, float radius);
public void setShapeMode(int shapeMode); // SHAPE_MODE_ROUND_RECT | SHAPE_MODE_CIRCLE
public void setShapeRadius(float radius);
public void setStroke(int strokeColor, float strokeWidth);
public void setStrokeColor(int strokeColor);
public void setStrokeWidth(float strokeWidth);
from shapedimageview.
That was quick! Thanks a lot.
from shapedimageview.
Related Issues (15)
- 不支持外边缘颜色设置吗 HOT 3
- Manifest Merger Failed HOT 4
- setExtention HOT 1
- Android p 图片圆角无效,pixel HOT 1
- NullPointerException:invoke virtual method 'boolean android.graphics.Bitmap.isRecycled() HOT 2
- display incorrectly with round_rect mode.
- setStroke 方法是不是有Bug HOT 8
- AndroidManifest.xml 文件冲突 HOT 1
- 加载网络图片 有问题 HOT 7
- RecyclerView Circle border is gone HOT 1
- ImageView设置了src属性,没有圆角 HOT 3
- Glide removes stroke HOT 4
- 怎么配置混淆 HOT 1
- ShapedImageView 为什么会给ImageView添加背景,并且背景色是stroke_color HOT 1
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 shapedimageview.