Giter Site home page Giter Site logo

dashline's Introduction

Android Dash Line 安卓虚线

绘制原因 about

由于硬件加速的问题,安卓上原有的虚线方法不太好使了,为了兼容方便,还是绘制虚线比较简单。

接口说明 api

设置高度 set height

setHeight(int height); 单位(unit) : dp

设置颜色 set color

setColor(int color);

设置虚线间隔 set dash offset

setOffset(int offset); 单位(unit) : dp

设置虚线宽度 set dash width

setDashWidth(int width); 单位(unit) : dp

dashline's People

Stargazers

天譩-倾仙 avatar  avatar  avatar  avatar 爱玩 avatar  avatar 树朾 avatar

Watchers

James Cloos avatar Reven avatar

Forkers

fuyuguang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.