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 SummaryNested Classes
- Field SummaryFields
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- abstract GFill- clone()Clones this instance.- abstract booleanChecks if two fill objects are equal.- final StringGets 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- DEFAULTThe default fill: solid transparent.
 
- Constructor Details- GFillpublic GFill()
 
- Method Details- getTypeGets the fill type.- Returns:
- One of the types SOLID, LINEAR_GRADIENT, RADIAL_GRADIENT or PATTERN.
 
- equalsChecks if two fill objects are equal.
- cloneClones this instance.
- getStringGets the fill as a String in the form described below.- Returns:
- the String as described above.
 
- toStringReturns a string representation of this class instance and its values.