edu.rit.slides.items
Interface Fill

All Superinterfaces:
Externalizable, Serializable
All Known Implementing Classes:
ColorFill

public interface Fill
extends Externalizable

Interface Fill specifies the interface for an object that gives the paint with which to fill an area in a SlideItem.

All fill objects must be externalizable so they can be marshalled in M2MI remote method invocations.


Field Summary
static Fill NONE
          Specify Fill.NONE to omit filling a slide item's interior.
 
Method Summary
 void setGraphicsContext(Graphics2D g2d)
          Set the given graphics context's paint attribute as specified by this fill object.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Field Detail

NONE

static final Fill NONE
Specify Fill.NONE to omit filling a slide item's interior.

Method Detail

setGraphicsContext

void setGraphicsContext(Graphics2D g2d)
Set the given graphics context's paint attribute as specified by this fill object.

Parameters:
g2d - 2-D graphics context.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.