Package com.iizix.prop
Class GFillSolid
- java.lang.Object
- com.iizix.prop.GFill
- com.iizix.prop.GFillSolid
- All Implemented Interfaces:
java.lang.Cloneable
public class GFillSolid extends GFill
Solid fill using a single color to fill a shape.- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class com.iizix.prop.GFill
GFill.Type
Constructor Summary
Constructors Constructor Description GFillSolid(GColor color)
Creates a solid fill from a color.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GFillSolid
clone()
Clones this instance.boolean
equals(java.lang.Object o)
Checks if two fill objects are equal.GColor
getColor()
Gets the color.GFill.Type
getType()
Gets the fill type.protected java.lang.String
paramString()
Returns the parameter string representing the state of this event.
Constructor Detail
GFillSolid
public GFillSolid(GColor color)
Creates a solid fill from a color.
Method Detail
getColor
public GColor getColor()
Gets the color.
getType
public GFill.Type getType()
Gets the fill type.
equals
public boolean equals(java.lang.Object o)
Checks if two fill objects are equal.
clone
public GFillSolid clone()
Clones this instance.
paramString
protected java.lang.String paramString()
Returns the parameter string representing the state of this event. This string is useful for debugging. Subclasses adds extra information to the string by preceding it with a comma followed by the extra information.- Returns:
- the parameter string of this event.