cz.cuni.jagrlib.iface
Interface SolidBrush

All Superinterfaces:
Brush, Property
All Known Implementing Classes:
SolidColorBrush

public interface SolidBrush
extends Brush

Solid brush interface (filling of a 2D area).

Since:
0.03
See Also:
SolidBrush.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 fill color (for RasterGraphics.MODE_GRAY).
 void setColor(double[] _color)
          Sets the current fill color (for RasterGraphics.MODE_RGB, RasterGraphics.MODE_RGBA or RasterGraphics.MODE_BAND).
 void setColor(int _color)
          Sets the current fill color (for RasterGraphics.MODE_GRAY or RasterGraphics.MODE_COLORMAP).
 void setColor(int[] _color)
          Sets the current fill color (for RasterGraphics.MODE_RGB, RasterGraphics.MODE_RGBA or RasterGraphics.MODE_BAND).
 
Methods inherited from interface cz.cuni.jagrlib.iface.Brush
fill, init, setAlphaOperation, setOperation, setTransferFunction
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Method Detail

setColor

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

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

setColor

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

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

setColor

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

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

setColor

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

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