D
- The drawable type for which this is the DrawingInfopublic class DrawingInfoLine<D extends Drawable> extends Object implements DrawingInfo
Constructor and Description |
---|
DrawingInfoLine()
Create an empty DrawingInfo object for a line.
|
DrawingInfoLine(Colorer<D> lineColorer,
float lineWidth)
Create a DrawingInfo object for a line.
|
DrawingInfoLine(Color lineColor,
float lineWidth)
Create a DrawingInfo object for a line.
|
Modifier and Type | Method and Description |
---|---|
Color |
getLineColor(D drawable)
The returned color could be dependent on the state of the object representing the line.
|
float |
getLineWidth() |
void |
setLineColor(Color lineColor)
Set the line color using a FixedColorer.
|
void |
setLineColorer(Colorer<D> lineColorer)
Set the line colorer.
|
void |
setLineWidth(float lineWidth) |
public DrawingInfoLine()
public DrawingInfoLine(Color lineColor, float lineWidth)
lineColor
- Color; the line colorlineWidth
- float; the line width, which could be relative and is open for interpretation by the visualization or
animation classpublic DrawingInfoLine(Colorer<D> lineColorer, float lineWidth)
lineColorer
- Colorer<D>; the line colorerlineWidth
- float; the line width, which could be relative and is open for interpretation by the visualization or
animation classpublic final Color getLineColor(D drawable)
drawable
- D; the object that could influence the color of the linepublic final void setLineColor(Color lineColor)
lineColor
- Color; lineColor to setpublic final void setLineColorer(Colorer<D> lineColorer)
lineColorer
- Colorer<D>; lineColorer to setpublic final float getLineWidth()
public final void setLineWidth(float lineWidth)
lineWidth
- float; lineWidth to setCopyright © 2014–2019 Delft University of Technology. All rights reserved.