cz.cuni.jagrlib.iface
Interface SolidPen

All Superinterfaces:
Pen, Property
All Known Implementing Classes:
SolidColorPen

public interface SolidPen
extends Pen

Solid pen with variable width.

Since:
0.03
See Also:
SolidPen.java

Field Summary
 
Fields inherited from interface cz.cuni.jagrlib.iface.Property
LOGGING, STATISTICS, TEXT_DESCRIPTION
 
Method Summary
 void setColor(double _color)
          Sets the current drawing color (for RasterGraphics.MODE_GRAY).
 void setColor(double[] _color)
          Sets the current drawing color (for RasterGraphics.MODE_RGB, RasterGraphics.MODE_RGBA or RasterGraphics.MODE_BAND).
 void setColor(int _color)
          Sets the current drawing color (for RasterGraphics.MODE_GRAY or RasterGraphics.MODE_COLORMAP).
 void setColor(int[] _color)
          Sets the current drawing color (for RasterGraphics.MODE_RGB, RasterGraphics.MODE_RGBA or RasterGraphics.MODE_BAND).
 double setWidth(double _width)
          Sets the Pen's width.
 int setWidth(int _width)
          Sets the Pen's width.
 
Methods inherited from interface cz.cuni.jagrlib.iface.Pen
init, setAlphaOperation, setOperation, setTransferFunction, stroke
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Method Detail

setWidth

int setWidth(int _width)
Sets the Pen's width.

Parameters:
_width - The new pen's width.
Returns:
The old pen's width.

setWidth

double setWidth(double _width)
Sets the Pen's width.

Parameters:
_width - The new pen's width.
Returns:
The old pen's width.

setColor

void setColor(int _color)
Sets the current drawing color (for RasterGraphics.MODE_GRAY or RasterGraphics.MODE_COLORMAP).

Parameters:
_color - Current drawing color.
See Also:
RasterGraphics

setColor

void setColor(double _color)
Sets the current drawing color (for RasterGraphics.MODE_GRAY).

Parameters:
_color - Current drawing color (0.0 to 1.0).
See Also:
RasterGraphics

setColor

void setColor(int[] _color)
Sets the current drawing color (for RasterGraphics.MODE_RGB, RasterGraphics.MODE_RGBA or RasterGraphics.MODE_BAND).

Parameters:
_color - Current drawing color.
See Also:
RasterGraphics

setColor

void setColor(double[] _color)
Sets the current drawing color (for RasterGraphics.MODE_RGB, RasterGraphics.MODE_RGBA or RasterGraphics.MODE_BAND).

Parameters:
_color - Current drawing color (channel values between 0.0 and 1.0).
See Also:
RasterGraphics