AndroidDragImageView | 重写android里的ImageView控件,支持缩放拖曳图片,支持ViewPage
kandi X-RAY | AndroidDragImageView Summary
kandi X-RAY | AndroidDragImageView Summary
AndroidDragImageView is a Java library. AndroidDragImageView has no bugs, it has no vulnerabilities and it has low support. However AndroidDragImageView build file is not available. You can download it from GitHub.
这里用到的Matrix方法: void set(Matrix src) 复制一个源矩阵,与构造方法Matrix(Matrix src)一样 void postScale(float sx, float sy, float px, float py) 以坐标(px,py)进行缩放 void postTranslate(float dx, float dy) 平移 getValues(float[] values) 复制matrix里的矩阵值到一个长度为9的浮点数组里. ####图片的缩放 当两只手指触摸屏幕且手指间隙大于10f时,设置为缩放模式,用savedMatrix保存矩阵值;为防止抖动,当两只手指移动变化长度大于5f时,才应用缩放。放大倍数为,两指之间的即时距离与刚触摸屏幕是的距离之比。通过postScale(float sx, float sy, float px, float py)更改缩放矩阵值,最后调用imageview的setImageMatrix(matrix)实现图片平移。.
这里用到的Matrix方法: void set(Matrix src) 复制一个源矩阵,与构造方法Matrix(Matrix src)一样 void postScale(float sx, float sy, float px, float py) 以坐标(px,py)进行缩放 void postTranslate(float dx, float dy) 平移 getValues(float[] values) 复制matrix里的矩阵值到一个长度为9的浮点数组里. ####图片的缩放 当两只手指触摸屏幕且手指间隙大于10f时,设置为缩放模式,用savedMatrix保存矩阵值;为防止抖动,当两只手指移动变化长度大于5f时,才应用缩放。放大倍数为,两指之间的即时距离与刚触摸屏幕是的距离之比。通过postScale(float sx, float sy, float px, float py)更改缩放矩阵值,最后调用imageview的setImageMatrix(matrix)实现图片平移。.
Support
Quality
Security
License
Reuse
Support
AndroidDragImageView has a low active ecosystem.
It has 0 star(s) with 1 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
AndroidDragImageView has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of AndroidDragImageView is current.
Quality
AndroidDragImageView has no bugs reported.
Security
AndroidDragImageView has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
AndroidDragImageView does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
AndroidDragImageView releases are not available. You will need to build from source code and install.
AndroidDragImageView has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AndroidDragImageView
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AndroidDragImageView
AndroidDragImageView Key Features
No Key Features are available at this moment for AndroidDragImageView.
AndroidDragImageView Examples and Code Snippets
No Code Snippets are available at this moment for AndroidDragImageView.
Community Discussions
No Community Discussions are available at this moment for AndroidDragImageView.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AndroidDragImageView
You can download it from GitHub.
You can use AndroidDragImageView like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the AndroidDragImageView component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use AndroidDragImageView like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the AndroidDragImageView component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page