Package net.sf.jaxodraw.object
Interface JaxoFillColorObject
-
- All Known Implementing Classes:
JaxoBlob
,JaxoBox
,JaxoFillObject
,JaxoVertexT2
,JaxoVertexT5
public interface JaxoFillColorObject
An interface for objects that have a fill color.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Color
getFillColor()
Returns the fill color of this object.boolean
isFilled()
Determines if the object is actually filled.void
setFillColor(java.awt.Color color)
Sets the fill color of this object.void
setFilled(boolean value)
Determines if the object should be filled.
-
-
-
Method Detail
-
getFillColor
java.awt.Color getFillColor()
Returns the fill color of this object.- Returns:
- The fillcolor.
-
setFillColor
void setFillColor(java.awt.Color color)
Sets the fill color of this object.- Parameters:
color
- The fillcolor.
-
isFilled
boolean isFilled()
Determines if the object is actually filled.- Returns:
- True if the fillColor is used.
-
setFilled
void setFilled(boolean value)
Determines if the object should be filled.- Parameters:
value
- True if the fillcolor should be used.
-
-