IInkTrace

public interface IInkTrace

Represents handwritten line in an Ink object.

Methods

MethodDescription
getBrush()Gets Brush for the IInkLine IInkBrush Read-only.
getPoints()Gets points for the IInkLine android.graphics.PointF Read-only.

getBrush()

public abstract IInkBrush getBrush()

Gets Brush for the IInkLine IInkBrush Read-only.


Example:
 
 Presentation pres = new Presentation("pres.pptx");
 try {
     IInk ink = (IInk)pres.getSlides().get_Item(0).getShapes().get_Item(0);
     IInkTrace[] traces = ink.getTraces();
     IInkBrush brush = traces[0].getBrush();
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: IInkBrush

getPoints()

public abstract PointF[] getPoints()

Gets points for the IInkLine android.graphics.PointF Read-only.


Example:
 
 Presentation pres = new Presentation("pres.pptx");
 try {
     IInk ink = (IInk)pres.getSlides().get_Item(0).getShapes().get_Item(0);
     IInkTrace[] traces = ink.getTraces();
     android.graphics.PointF[] points = traces[0].getPoints();
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: android.graphics.PointF[]