ShapeImageView
Introduction: 图形裁剪 ImageView,API 21 及以上 使用 setOutlineProvider 方式实现,支持动态图;以下使用 BitmapShader 方式实现。支持固定高宽缩放比缩放,支持前景 Drawable,支持 ImageView 的所有 ScaleType,且 API 21 具备更高性能。
Tags:
ImageView-介绍
多功能 ImageView
使用
引用:
dependencies {
...
implementation 'io.github.alexmofer.widget:multifunctionalimageview:1.1.1'
...
}
支持
- Gmail: moferalex@gmail.com
许可
Copyright 2021 AlexMofer
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
