edu.rit.draw.item
Interface Fill
-
- All Superinterfaces:
- java.io.Externalizable, java.io.Serializable
- All Known Implementing Classes:
- ColorFill
public interface Fill extends java.io.ExternalizableInterface Fill specifies the interface for an object that gives the paint with which to fill an area in a DrawingItem.All fill objects must be externalizable so they can be stored in a drawing file.
-
-
Field Summary
Fields Modifier and Type Field and Description static FillNONESpecify Fill.NONE to omit filling a drawing item's interior.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidsetGraphicsContext(java.awt.Graphics2D g2d)Set the given graphics context's paint attribute as specified by this fill object.
-
-
-
Field Detail
-
NONE
static final Fill NONE
Specify Fill.NONE to omit filling a drawing item's interior.
-
-
DMelt 3.0 © DataMelt by jWork.ORG