Skip to content

kukushi/KKSPainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KKSPaint

An iOS painting framework base on CoreGraphics (UIBezierPath).

Demo Screen Shot

Drawing

Install

  1. Simply drag the KKSPainting folder into your project.
  2. Add a KKSPaintingScrollView subview of the mainview.

Note: If you want to run the demo project, you should install the pod first ( by pod install).

Features

Basic Drawings

You can draw the following items:

  • Smooth Signatures
  • Line
  • Segments
  • Bezier
  • Polygon
  • Rectangle
  • Ellipse

Redo, undo, clear action also supported.

Editing Support

You can do the following editing actions to paintings:

  • Move
  • Rotate & Zoom
  • Remove
  • Copy & Paste
  • Fill (Closed Painting only)

Save & Restore

You can save the KKSPaintingModel to persistent all the data and reload it using - (void)reloadManagerWithModel:(KKSPaintingModel *)paintingModel; of KKSPaintingManager. All the paintings can be edited.

License

This project is is available under the MIT license. See the LICENSE file for more info. Attribution by linking to the project page is appreciated.

About

An iOS painting framework base on CoreGraphic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published