DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class DeviceColor

java.lang.Object
  extended by com.cete.dynamicpdf.Color
      extended by com.cete.dynamicpdf.DeviceColor
Direct Known Subclasses:
CmykColor, Grayscale, RgbColor

public abstract class DeviceColor
extends Color

Represents the base class for which all solid colors are derived.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.


Constructor Summary
DeviceColor()
           
 
Method Summary
 void drawFill(PageWriter writer)
          Draws the color data to the given PageWriter object.
 void drawStroke(PageWriter writer)
          Draws the color data to the given PageWriter object.
abstract  int getComponents()
          Gets the number of components for the device color.
abstract  void toStringBuffer(java.lang.StringBuffer stringBuffer)
          Appends the color information to the given stringBuffer object.
 
Methods inherited from class com.cete.dynamicpdf.Color
drawFill, drawStroke, equals, getColorSpace, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceColor

public DeviceColor()
Method Detail

drawStroke

public void drawStroke(PageWriter writer)
Draws the color data to the given PageWriter object.

Specified by:
drawStroke in class Color
Parameters:
writer - PageWriter object to receive the color data.
See Also:
PageWriter

drawFill

public void drawFill(PageWriter writer)
Draws the color data to the given PageWriter object.

Specified by:
drawFill in class Color
Parameters:
writer - PageWriter object to receive the color data.
See Also:
PageWriter

toStringBuffer

public abstract void toStringBuffer(java.lang.StringBuffer stringBuffer)
Appends the color information to the given stringBuffer object.

Parameters:
stringBuffer - to receive the color information.

getComponents

public abstract int getComponents()
Gets the number of components for the device color.

Returns:
the number of components for the device color.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software