public class

PressureInkItem

extends InkItem
java.lang.Object
   ↳ com.pdftron.pdf.model.ink.InkItem
     ↳ com.pdftron.pdf.model.ink.PressureInkItem

Summary

Fields
public List<Float> currentActivePressure
public final List<List<Float>> finishedPressures
[Expand]
Inherited Fields
From class com.pdftron.pdf.model.ink.InkItem
Public Constructors
PressureInkItem(String id, List<PointF> currentActiveStroke, List<Float> currentActivePressure, List<List<PointF>> finishedStrokes, List<List<Float>> finishedPressures, int pageNumber, int color, float opacity, float baseThickness, float paintThickness, boolean isStylus)
PressureInkItem(int pageNumber, int color, float opacity, float baseThickness, boolean isStylus, PDFViewCtrl pdfViewCtrl)
Public Methods
InkItem copy()
Create a copy of an InkItem and return it.
Paint getPaint(PDFViewCtrl pdfViewCtrl)
[Expand]
Inherited Methods
From class com.pdftron.pdf.model.ink.InkItem
From class java.lang.Object

Fields

public List<Float> currentActivePressure

public final List<List<Float>> finishedPressures

Public Constructors

public PressureInkItem (String id, List<PointF> currentActiveStroke, List<Float> currentActivePressure, List<List<PointF>> finishedStrokes, List<List<Float>> finishedPressures, int pageNumber, int color, float opacity, float baseThickness, float paintThickness, boolean isStylus)

public PressureInkItem (int pageNumber, int color, float opacity, float baseThickness, boolean isStylus, PDFViewCtrl pdfViewCtrl)

Public Methods

public InkItem copy ()

Create a copy of an InkItem and return it. Note that Paint is not copied as it's always lazy initialized

Returns
  • a new instance of InkItem.

public Paint getPaint (PDFViewCtrl pdfViewCtrl)