Package org.jzy3d.plot2d.primitives
Class LineSerie2d
- java.lang.Object
-
- org.jzy3d.plot2d.primitives.LineSerie2d
-
- All Implemented Interfaces:
Serie2d
- Direct Known Subclasses:
LineSerie2dSplitted
public class LineSerie2d extends Object implements Serie2d
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jzy3d.plot2d.primitives.Serie2d
Serie2d.Type
-
-
Field Summary
Fields Modifier and Type Field Description protected ConcurrentLineStrip
line
protected String
name
-
Constructor Summary
Constructors Constructor Description LineSerie2d(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(double x, double y)
void
add(double x, double y, Color color)
void
add(float x, float y)
void
add(float x, float y, Color color)
void
add(List<Coord2d> c)
void
add(Coord2d c)
void
add(Coord2d c, Color color)
void
clear()
Color
getColor()
ConcurrentLineStrip
getDrawable()
String
getName()
void
setColor(Color color)
void
setWidth(int width)
-
-
-
Field Detail
-
line
protected ConcurrentLineStrip line
-
name
protected String name
-
-
Constructor Detail
-
LineSerie2d
public LineSerie2d(String name)
-
-
Method Detail
-
getDrawable
public ConcurrentLineStrip getDrawable()
- Specified by:
getDrawable
in interfaceSerie2d
-
-