All Projects → yingLanNull → Shadowimageview

yingLanNull / Shadowimageview

Licence: apache-2.0
🔥可以根据图片内容变阴影颜色,更加细腻的阴影效果 It can change color according to the picture, more delicate shadow effect

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Shadowimageview

Tocropviewcontroller
A view controller for iOS that allows users to crop portions of UIImage objects
Stars: ✭ 4,210 (+64.45%)
Mutual labels:  image, view
ShadowDrawable
为View 和 ViewGroup 添加阴影效果--Android,Add shadow for single view or viewgroup layout.
Stars: ✭ 22 (-99.14%)
Mutual labels:  view, shadow
Arclayout
With Arc Layout explore new styles and approaches on material design
Stars: ✭ 1,662 (-35.08%)
Mutual labels:  view, shadow
Materialimageloading
Material image loading implementation
Stars: ✭ 396 (-84.53%)
Mutual labels:  image, view
Longshadow
Add a long shadow on any Android View
Stars: ✭ 562 (-78.05%)
Mutual labels:  view, shadow
Shadowimageview
A apple music cover picture shadow style image library
Stars: ✭ 781 (-69.49%)
Mutual labels:  image, shadow
Image Shadow
Simple and small Javascript script to display the shadow of an image!
Stars: ✭ 142 (-94.45%)
Mutual labels:  image, shadow
React Native Auto Height Image
🖼️React native auto height image
Stars: ✭ 219 (-91.45%)
Mutual labels:  image
React Worker Image
React component to fetch image resources via web workers 🤖🤖
Stars: ✭ 226 (-91.17%)
Mutual labels:  image
Foregroundviews
Views that supports a foreground, like FrameLayout does
Stars: ✭ 215 (-91.6%)
Mutual labels:  view
Gulp Image
Optimize PNG, JPEG, GIF, SVG images with gulp task.
Stars: ✭ 213 (-91.68%)
Mutual labels:  image
Use Image Color
🎨 A hook to grab a color palette from images. Render a skeleton color while your original image still loading.
Stars: ✭ 222 (-91.33%)
Mutual labels:  image
Laravel Tag Helper
Add powerful HTML tag helpers to your Laravel application
Stars: ✭ 227 (-91.13%)
Mutual labels:  view
Goview
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
Stars: ✭ 213 (-91.68%)
Mutual labels:  view
React Scroll Shadow
Pure CSS shadow to indicate more content in scrollable area
Stars: ✭ 229 (-91.05%)
Mutual labels:  shadow
Bv
Quickly view satellite imagery, hyperspectral imagery, and machine learning image outputs directly in your iTerm2 terminal.
Stars: ✭ 215 (-91.6%)
Mutual labels:  image
Dualgan
DualGAN-tensorflow: tensorflow implementation of DualGAN
Stars: ✭ 230 (-91.02%)
Mutual labels:  image
Riot
Simple and elegant component-based UI library
Stars: ✭ 14,596 (+470.16%)
Mutual labels:  view
React Native Perspective Image Cropper
Perform custom crop, resizing and perspective correction 📐🖼
Stars: ✭ 223 (-91.29%)
Mutual labels:  image
Flexml
🚀基于Litho的Android高性能动态业务容器。
Stars: ✭ 225 (-91.21%)
Mutual labels:  view

ShadowImageView

Abstract

More exquisite shadow effect, used in some special scene to enhance the user experience.

Chinese Documents

查看中文文档

Picture

1 2

GIF

1

Add Picture

3

Demo

Download App

Usage

Gradle

dependencies {
    compile 'com.yinglan.shadowimageview:shadowimageview:1.0.4'
}

In layout

	    <com.yinglan.shadowimageview.ShadowImageView
	            android:id="@+id/shadow"
                android:layout_width="300dp"
                android:layout_height="300dp"
                app:shadowRound="20dp"
                app:shadowSrc="@mipmap/lotus"
                app:shadowColor="@color/colorAccent"/>

Set Picture

    shadow.setImageResource(resID); 
    shadow.setImageDrawable(drawable); 
    shadow.setImageBitmap(bitmap);

Set the picture radius

    shadow.setImageRadius(radius);

Set the shadow color of the image

    shadow.setImageShadowColor(color);

Notice

SeePPMusicImageShadow, do a simple implementation, there may be a potential problem and use learning exchanges, looking forward to you have a better way of implementation.

License

The work done has been licensed under Apache License 2.0. The license file can be found here. You can find out more about the license at:

http://www.apache.org/licenses/LICENSE-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].