co.uk.sentinelweb.views.draw.render.ag
Class StrokeRenderer

java.lang.Object
  extended by co.uk.sentinelweb.views.draw.render.ag.StrokeRenderer

public class StrokeRenderer
extends java.lang.Object


Nested Class Summary
static interface StrokeRenderer.TextLineHandler
           
 
Field Summary
static float MIN_ROTATION
           
 Paint noImgPaint
           
 
Constructor Summary
StrokeRenderer(Context context, AndGraphicsRenderer renderer)
           
 
Method Summary
 void processText(Stroke stroke, Path thePath, StrokeRenderer.TextLineHandler loopMethod)
           
 void render(Canvas canvas, Stroke stroke)
           
 void renderSeleceted(Canvas canvas, Stroke stroke, Paint p)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_ROTATION

public static final float MIN_ROTATION
See Also:
Constant Field Values

noImgPaint

public Paint noImgPaint
Constructor Detail

StrokeRenderer

public StrokeRenderer(Context context,
                      AndGraphicsRenderer renderer)
Method Detail

render

public void render(Canvas canvas,
                   Stroke stroke)

processText

public void processText(Stroke stroke,
                        Path thePath,
                        StrokeRenderer.TextLineHandler loopMethod)

renderSeleceted

public void renderSeleceted(Canvas canvas,
                            Stroke stroke,
                            Paint p)