Package com.iizix.prop
Class GFill
java.lang.Object
com.iizix.prop.GFill
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
GFillGradient
,GFillPattern
,GFillSolid
Abstract class to defines how to fill a shape. Four types of fills can be used: solid, linear gradient, radial gradient and pattern.
- Author:
- Christopher Mindus
Nested Class Summary
Field Summary
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionabstract GFill
clone()
Clones this instance.abstract boolean
Checks if two fill objects are equal.final String
Gets the fill as a String in the form described below.abstract GFill.Type
getType()
Gets the fill type.final String
toString()
Returns a string representation of this class instance and its values.
Field Details
DEFAULT
The default fill: solid transparent.
Constructor Details
GFill
public GFill()
Method Details
getType
Gets the fill type.- Returns:
- One of the types SOLID, LINEAR_GRADIENT, RADIAL_GRADIENT or PATTERN.
equals
Checks if two fill objects are equal.clone
Clones this instance.getString
Gets the fill as a String in the form described below.- Returns:
- the String as described above.
toString
Returns a string representation of this class instance and its values.