org.achartengine.renderer
Class BasicStroke

java.lang.Object
  extended by org.achartengine.renderer.BasicStroke
All Implemented Interfaces:
java.io.Serializable

public class BasicStroke
extends java.lang.Object
implements java.io.Serializable

A descriptor for the stroke style.

See Also:
Serialized Form

Field Summary
static BasicStroke DASHED
          The dashed line style.
static BasicStroke DOTTED
          The dot line style.
static BasicStroke SOLID
          The solid line style.
 
Constructor Summary
BasicStroke(android.graphics.Paint.Cap cap, android.graphics.Paint.Join join, float miter, float[] intervals, float phase)
          Build a new basic stroke style.
 
Method Summary
 android.graphics.Paint.Cap getCap()
          Returns the stroke cap.
 float[] getIntervals()
          Returns the path effect intervals.
 android.graphics.Paint.Join getJoin()
          Returns the stroke join.
 float getMiter()
          Returns the stroke miter.
 float getPhase()
          Returns the path effect phase.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOLID

public static final BasicStroke SOLID
The solid line style.


DASHED

public static final BasicStroke DASHED
The dashed line style.


DOTTED

public static final BasicStroke DOTTED
The dot line style.

Constructor Detail

BasicStroke

public BasicStroke(android.graphics.Paint.Cap cap,
                   android.graphics.Paint.Join join,
                   float miter,
                   float[] intervals,
                   float phase)
Build a new basic stroke style.

Parameters:
cap - the stroke cap
join - the stroke join
miter - the stroke miter
intervals - the path effect intervals
phase - the path effect phase
Method Detail

getCap

public android.graphics.Paint.Cap getCap()
Returns the stroke cap.

Returns:
the stroke cap

getJoin

public android.graphics.Paint.Join getJoin()
Returns the stroke join.

Returns:
the stroke join

getMiter

public float getMiter()
Returns the stroke miter.

Returns:
the stroke miter

getIntervals

public float[] getIntervals()
Returns the path effect intervals.

Returns:
the path effect intervals

getPhase

public float getPhase()
Returns the path effect phase.

Returns:
the path effect phase


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.