CiDrawing

Build Status

CiDrawing is a vector graphics library for Android, it provides a custom view and together with a set of tools to manage vector graphics drawing.

Supported Features

Elements

Functions

How to Use

Include view in your layout as:

<com.mocircle.cidrawing.view.CiDrawingView
    android:id="@+id/drawing_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

Create drawing board object and set up the view:

CiDrawingView drawingView = (CiDrawingView) findViewById(R.id.drawing_view);
DrawingBoard drawingBoard = DrawingBoardManager.getInstance().createNewBoard();
drawingBoard.setupDrawingView(drawingView);

Sample Project

Please check out the sample project at [CiDrawing Sample] (https://github.com/mocircle/cidrawing/tree/master/cidrawingsample)

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

Add to your project

Current CiDrawing is still under developing, not yet published. So please compile source code yourself.

License

CiDrawing is released under version 2.0 of the Apache License.