Android Open Source - Sketcher-Tab Style

From Project

Back to project page Sketcher-Tab.


The source code is released under:

Apache License

If you think the Android project Sketcher-Tab listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.sketchertab;
/*  w w w. j av  a  2s. c  om*/

import java.util.Map;

public interface Style {
  public void strokeStart(float x, float y);

  public void stroke(Canvas c, float x, float y);

  public void draw(Canvas c);

  public void setColor(int color);

    public void setOpacity(int opacity);

    public void setStrokeWidth(float width);

  public void saveState(Map<StylesFactory.BrushType, Object> state);

  public void restoreState(Map<StylesFactory.BrushType, Object> state);

Java Source Code List