### IFillBundle

  IFillBundle contains imaging information for 2-D graphic objects of the solid-filled, no frame variety.

### IFillBundle - Member Functions and Data by Group

### Constructors & Destructor

Use the constructors and destructor in this group to create and destroy objects of class IFillBundle.

~IFillBundle

      public:
      virtual ~IFillBundle()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IFillBundle

  Overload 1
  Default constructor. Creates an IFillBundle with black paint and color transfer mode as source-copy.

      public:
      IFillBundle()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2
  Constructs an IFillBundle with specified color and color transfer mode.

      public:
      IFillBundle( const IBaseColor& fillColor,
                   const IColorTransferMode& transferMode )

  fillColor
    The IBaseColor to be copied.
  transferMode
    The IColorTransferMode to be copied.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 3
  Constructs an IFillBundle with a specified IBaseColor.

      public:
      IFillBundle(const IBaseColor& fillColor)

  fillColor
    The IBaseColor to be copied.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 4
  Copy constructor.

      public:
      IFillBundle(const IFillBundle&)

  const IFillBundle&
    The IFillBundle object to be copied.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Assignment Operator

Use the operator in this group to assign the given IFillBundle object to the target one.

operator =

      public:
      IFillBundle& operator =(const IFillBundle&)

  Assignment operator.

  const IFillBundle&
    The source object.

Return
  A non-const reference to the left-hand side object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Comparing Two Objects for Equality

Use this operator to compare the given IAttributeState object with the current IFillBundle object for equality

operator ==

      public:
      virtual bool operator ==(const IAttributeState&) const

  Tests two IAttributeState objects for equality.

  IAttributeState
    A constant reference to the IAttributeState to be compared with this one.

Return
  True if this IFillBundle and the argument have equal attributes.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Getting the Object's Attributes and Properties

Use the functions in this group to obtain the object's drawing operation, fill paint, and fill transfer mode.

drawingOperation

      public:
      virtual IAttributeState::EDrawOperation
        drawingOperation() const

  Returns the EDrawOperation that determines whether to paint the fill, the frame, or both.

Return
  The EDrawingOperation value of the bundle.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

fillPaint

      public:
      virtual const IPaint* fillPaint() const

  Returns the paint object being used for this object.

Return
  Pointer to the paint object being used.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

fillTransferMode

      public:
      virtual const IColorTransferMode* fillTransferMode() const

  Returns a pointer to the transfer mode being used by this object.

Return
  A pointer to the transfer mode for this object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Setting the Object's Attributes and Properties

Use the functions in this group to set the fill bundle's values, such as the fill color and transfer mode.

setFillColor

      public:
      void setFillColor(const IBaseColor& color)

  Sets the fill color for the object.

  const IBaseColor&
    The color for the fill region.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setFillTransferMode

      public:
      void
        setFillTransferMode( const IColorTransferMode& transferMode )

  Sets the transfer mode that determines the fill color after deleting the existing one.

  transferMode
    The new transfer mode to be used.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Streaming an Object In and Out

Use the functions in this group to read the object in from the given stream and write it out to it.

readFromStream

      protected:
      virtual void readFromStream(IDataStream& toWhere)

  Reads the object in from the specified stream.

  fromStream
    The stream used to read in the object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

writeToStream

      protected:
      virtual void writeToStream(IDataStream& toWhere) const

  Writes the object to the specified stream.

  toWhere
    The stream used to write the object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IFillBundle - Inherited Member Functions and Data

#### Inherited Public Functions

  IAttributeState

  -     virtual ~IAttributeState()

  -     virtual EDrawOperation drawingOperation() const = 0

  -     virtual const ICap* frameEndCap() const

  -     virtual const IJoint* frameJoint() const

  -     virtual const IPaint* framePaint() const

  -     virtual const IPen* framePen() const

  -     virtual const IColorTransferMode* frameTransferMode() const

  -     IAttributeState(const IAttributeState&)

  -     IAttributeState()

  -     virtual const IImageSamplingControl* imageSampling() const

  -     virtual const IImageTransferMode* imageTransferMode() const

  -     bool operator !=(const IAttributeState& obj) const

  -     IAttributeState& operator =(const IAttributeState&)

  -     virtual bool operator ==(const IAttributeState& obj) const

  -     virtual unsigned long timeStamp() const

  IMStreamable

  -     virtual ~IMStreamable()

  -     void externalizeToStream(IDataStream& towhere) const

  -     void internalizeFromStream(IDataStream& fromwhere)

  -     virtual const ITypeRepresentation&
          typeRepresentation() const = 0

  IFillBundle

  -     StreamableDeclarationsMacro(IFillBundle)

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  IMStreamable

  -     IMStreamable()

  -     IMStreamable(const IMStreamable& other)

  -     virtual void readFromStream(IDataStream& fromwhere) = 0

  -     virtual void writeToStream(IDataStream& towhere) const = 0

  IAttributeState

  -     void resetTimeStamp()

  -     void setTimeStamp(unsigned long)

  -     void updateTimeStamp()

#### Inherited Protected Data

  - None