Code Monkey home page Code Monkey logo

fable.react.drawingcanvas's People

Contributors

alfonsogarciacaro avatar davedawkins 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

Watchers

 avatar  avatar  avatar  avatar

fable.react.drawingcanvas's Issues

Support remainder of stable, write-only Canvas2D API

See README.md for API coverage.

Compare with https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D to classification of the API members.

This issue can be closed when all API members are support that are:

  • not a getter method (eg measureString is a getter method)
  • not experimental
  • supported on all browsers

This just gets me to focus on a solid core for the next milestone.

Getter methods are possibly going to need Bind() to implemented.

Readme.md: Mismatched parentheses in code example in "About" section

    open Fable.React.DrawingCanvas
    open Fable.React.DrawingCanvas.Builder

    div [] [
        drawingcanvas {
            Redraw = Drawing (drawing {
                resize 400.00 400.0
                translate 200.0 200.0
                lineWidth 6.0
                beginPath
                arc 0.0 0.0 195.0 0.0 (2.0 * Math.PI) false
                stroke
            } // The closing parenthesis should be here
            Props = [ ]
        }) // instead of here
    ]

Remove public API usage of U3<_>

U3<_> is usually used internally in the library code when you cannot overload functions (which you actually can). It would be great if it was hidden away from the public API, for example the public usage here:

strokeStyle (U3.Case1  "#440000")

would simply become

strokeStyle "#440000"

CE methods can now take overloads, so it should be possible

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.