public class

CurvePainter

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.CurvePainter

Summary

Constants
int DRAW_MODE_LINES
int DRAW_MODE_PATH
Public Constructors
CurvePainter(Bitmap bitmap)
CurvePainter(String pathString)
CurvePainter(int[] buf)
Public Methods
static CurvePainter create(CurvePainter otherPainter)
Creates a clone of another CurvePainter
void draw(Canvas canvas, float x_pos, float y_pos, double scaleX, double scaleY, double strokeScaleX, double strokeScaleY)
Bitmap getBitmap()
int[] getBuffer()
boolean getMultBlend()
Rect getRect()
void setMultBlend(boolean multBlend)
void setRect(Rect rect)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DRAW_MODE_LINES

Constant Value: 1 (0x00000001)

public static final int DRAW_MODE_PATH

Constant Value: 0 (0x00000000)

Public Constructors

public CurvePainter (Bitmap bitmap)

public CurvePainter (String pathString)

Throws
UnsupportedEncodingException

public CurvePainter (int[] buf)

Public Methods

public static CurvePainter create (CurvePainter otherPainter)

Creates a clone of another CurvePainter

public void draw (Canvas canvas, float x_pos, float y_pos, double scaleX, double scaleY, double strokeScaleX, double strokeScaleY)

public Bitmap getBitmap ()

public int[] getBuffer ()

public boolean getMultBlend ()

public Rect getRect ()

public void setMultBlend (boolean multBlend)

public void setRect (Rect rect)