ACEDrawingView icon indicating copy to clipboard operation
ACEDrawingView copied to clipboard

Custom Shapes

Open devarajidesign opened this issue 8 years ago • 1 comments

Hai,

Can you please explain how to use the custom in that code.Because i tried it forcely closed.I want some shapes like triangle,rectangle..

devarajidesign avatar Apr 11 '17 10:04 devarajidesign

In the current implementation you can only have one ACEDrawingTool.

Create a new NSObject which implement the protocol ACEDrawingTool (see other examples like rectangle).

Now set the new tool to the ACEDrawingTool property and set the drawTool = ACEDrawingToolTypeCustom

you should be able to use your custom tool.

If you want to implement more than one, I would like to suggest to implement new tools and submit a PR

acerbetti avatar Apr 11 '17 15:04 acerbetti