Latest 3.0.4
Homepage https://github.com/authman2/Canvas
License MIT
Platforms ios 12.0
Authors

Canvas+   Canvas

Version
License
Platform

Canvas is an iOS library that creates an area on the screen where the user can draw lines and shapes, style drawings by adding different types of brushes, and work with multiple layers. It provides an easy way to add on-screen drawing to any iOS app. Canvas uses SVG and Raster graphics for drawing.

Features

  • Canvas: A UIView with a clear background where users can draw.
  • CanvasTools: Draw using different shapes (pen, eraser, line, rectangle, ellipse, and eyedropper)
  • CanvasLayers: Create multiple SVG or Raster layers that can be moved, swapped, hidden, locked, and more.
  • Brushes: Create and use different brushes to style drawings on the canvas.
  • CanvasEvents: Keep track of when the user starts drawing, is drawing, and finishes drawing by using the CanvasEvents protocol.
  • Export: Export your canvas drawing as a UIImage.
  • Undo/Redo/Clear: Support for undo, redo, and clearing of drawings. You can also define for yourself what actions in your app should count toward to the undo/redo stack by using the addCustomUndoRedo function.
  • Selection Tool: Select different drawing strokes and move them around the canvas. Drawings can also be copied and pasted onto different canvas layers.

Installation

Canvas is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'Canvas+'

Author

  • Year: 2018
  • Languages/Tools: Swift
  • Programmer: Adeola Uthman

License

Canvas is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Canvas+",
    "version": "3.0.4",
    "summary": "A customizable painting canvas for iOS applications.",
    "description": "Canvas creates an area on the screen where the user can draw lines and shapes, style drawings by adding different types of brushes, and work with multiple layers. It provides an easy way to add on-screen drawing to any iOS app.",
    "homepage": "https://github.com/authman2/Canvas",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "authman2": "[email protected]"
    },
    "source": {
        "git": "https://github.com/authman2/Canvas.git",
        "tag": "3.0.4"
    },
    "platforms": {
        "ios": "12.0"
    },
    "source_files": "Canvas/Classes/**/*"
}

Pin It on Pinterest

Share This