com.eteks.filter
クラス Web216ColorsFilter
java.lang.Object
|
+--java.awt.image.ImageFilter
|
+--java.awt.image.RGBImageFilter
|
+--com.eteks.filter.Web216ColorsFilter
- すべての実装インタフェース:
- java.lang.Cloneable, java.awt.image.ImageConsumer
- public class Web216ColorsFilter
- extends java.awt.image.RGBImageFilter
This image filter transforms the color of each pixel of an image, using
a fixed 216 colors palette. No special dithering is performed.
Each Red, Green, Blue component of the 216 colors resulting palette take a value
among the 6 values of the following set : (0x00, 0x33, 0x66, 0x99, OxCC, OxFF).
6 power 3 makes 216 total possible combinations.
- 導入されたバージョン:
- PJA1.0
- バージョン:
- 1.1
- 作成者:
- Emmanuel Puybaret
クラス java.awt.image.RGBImageFilter から継承したフィールド |
canFilterIndexColorModel, newmodel, origmodel |
クラス java.awt.image.ImageFilter から継承したフィールド |
consumer |
インタフェース java.awt.image.ImageConsumer から継承したフィールド |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
メソッドの概要 |
int |
filterRGB(int x,
int y,
int rgb)
RGBImageFilter method implementation. |
クラス java.awt.image.RGBImageFilter から継承したメソッド |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel |
クラス java.awt.image.ImageFilter から継承したメソッド |
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties |
クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Web216ColorsFilter
public Web216ColorsFilter()
filterRGB
public int filterRGB(int x,
int y,
int rgb)
RGBImageFilter
method implementation.
- オーバーライド:
- クラス
java.awt.image.RGBImageFilter
内の filterRGB