Git Product home page Git Product logo

bitmapmesh's Introduction

bitmapMesh

未完成,由于开了硬件加速 drawBitmapMesh的参数colors在API18以下是不起作用的,所以API18以下的系统上是看不到窗帘的阴影的,正在解决这个问题

according to official api guides, the parameter 'colors' of canvas.drawBitmapMesh won't work when api level lower than 18, so shadow effect is not available when api level lower than 18

阴影问题已解决

shadow issue solved.

无法显示阴影时的效果:

this's what it looks like when shadow effect is not available

art1

显示出阴影时的效果(由于gif对颜色的压缩,阴影效果显示不是很好):

this's what it looks like when shadow effect works

art2

静态效果

art3

art4 art5

bitmapmesh's People

Contributors

7heaven avatar bryant1410 avatar

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.