# EffectiveShapeView **Repository Path**: baijuncheng-open-source/effective-shape-view ## Basic Information - **Project Name**: EffectiveShapeView - **Description**: 一个根据输入的数值,绘制多边形,更改多边形边界宽度,设置附着三角形位置的库 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-01 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EffectiveShapeView A fast,flexible,powerful ImageView that supports rounded corners,circles,polygon.Used by shader which is fastest model of draw. #add to your project 1.Copy the Effectiveshapeview/effectiveshapeview folder to the project directory 2.Modify settings.gradle under the project and add the dependency on this module as follows: include ':entry', ':effectiveshapeview' 3. Introduce the dependency of the module under the project. Taking the entry module as an example, you need to modify the build.gradle file under the entry module to add the dependency: compile project(path: ':effectiveshapeview') or implementation project(path: ':effectiveshapeview') Solution 2: local use of har package integration 1. Compile this project, copy the har package generated in the build directory of the FlexLayout/library folder to the project lib folder: directory:\Effectiveshapeview\effectiveshapeview\build\outputs\har\debug\effectiveshapeview-debug.har 2. Add the following code in the entry's gradle implementation fileTree(dir:'libs', include: ['*.jar','*.har']) More on the configuration can be found in the Project. Also has support for: - anti-aliased - Borders (with Colors) - Hardware acceleration - Decorations (with Direction) ## Integration Gradle: ```gradle implementation 'com.gitee.baijuncheng-open-source:effective-shape-view:1.0.0' ``` Usage --- ```xml ``` Changelog **v1.0.0** - add effectiveshapeview library License --- Copyright 2016 - 2017 TangXiaoLv 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.