GithubHelp home page GithubHelp logo

fabric-tutorial_zh-cn's Introduction

Fabric.js中文教程

Fabric官网

  • 第一部分
    • 为什么要做fabric
    • Fabric中的对象
    • Canvas
    • 图像
    • 路径(Paths)
  • 第二部分
    • 动画(animate)
    • 图像滤镜(filters)
    • 颜色(Colors)
    • 渐变(Gradients)
    • 文本(Text)
    • 字体(fontFamily)
    • 事件(Events)
  • 第三部分
    • 组合(Group)
    • 序列化
    • 反序列化,SVG解析器
    • 子类
  • 第四部分
    • 自由绘画
    • 自定义
    • Node.js上的Fabric
  • 第五部分
    • 缩放和平移(Zoom and panning)
  • 第六部分
    • 变形(transform)
  • 第七部分
    • 子类化Textbox类以生成位图文本
  • 第八部分
    • clipPaths剪切基础
    • clipPaths嵌套和更复杂的场景
    • canvas上使用clipPaths

fabric-tutorial_zh-cn's People

Contributors

gongzhename avatar jiangliang-work avatar renmu123 avatar wangzongxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fabric-tutorial_zh-cn's Issues

记录一下已经过时的内容

var gradient = new fabric.Gradient({
type: 'linear',
gradientUnits: 'pixels', // or 'percentage'
coords: { x1: 0, y1: 0, x2: 0, y2: circle.height },
colorStops:[
{ offset: 0, color: '#000' },
{ offset: 1, color: '#fff'}
]
})

circle.set('fill', gradient);

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.