Uses of Class
com.aspose.imaging.Color

Packages that use Color
com.aspose.imaging   
com.aspose.imaging.brushes   
com.aspose.imaging.fileformats.bmp   
com.aspose.imaging.fileformats.gif   
com.aspose.imaging.fileformats.gif.blocks   
com.aspose.imaging.fileformats.jpeg   
com.aspose.imaging.fileformats.png   
com.aspose.imaging.fileformats.psd   
com.aspose.imaging.fileformats.psd.resources   
com.aspose.imaging.fileformats.tiff   
com.aspose.imaging.interfaces   
 

Uses of Color in com.aspose.imaging
 

Methods in com.aspose.imaging that return Color
 Color Color.Clone()
           
static Color Color.fromArgb(int argb)
           Creates a Color structure from a 32-bit ARGB value.
static Color Color.fromArgb(int alpha, Color baseColor)
           Creates a Color structure from the specified Color structure, but with the new specified alpha value.
static Color Color.fromArgb(int red, int green, int blue)
           Creates a Color structure from the specified 8-bit color values (red, green, and blue).
static Color Color.fromArgb(int alpha, int red, int green, int blue)
           Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values.
static Color ColorTranslator.fromHtml(java.lang.String htmlColor)
           Takes color from the HTML color.
static Color Color.fromKnownColor(int color)
           Creates a Color structure from the specified predefined color.
static Color Color.fromName(java.lang.String name)
           Creates a Color structure from the specified name of a predefined color.
static Color ColorTranslator.fromOle(int oleColor)
           Takes color from the OLE color.
static Color ColorTranslator.fromWin32(int win32Color)
           Takes color from the HTML color.
static Color Color.getAliceBlue()
           Gets a system-defined color.
static Color Color.getAntiqueWhite()
           Gets a system-defined color.
static Color Color.getAqua()
           Gets a system-defined color.
static Color Color.getAquamarine()
           Gets a system-defined color.
static Color Color.getAzure()
           Gets a system-defined color.
static Color Color.getBeige()
           Gets a system-defined color.
static Color Color.getBisque()
           Gets a system-defined color.
static Color Color.getBlack()
           Gets a system-defined color.
static Color Color.getBlanchedAlmond()
           Gets a system-defined color.
static Color Color.getBlue()
           Gets a system-defined color.
static Color Color.getBlueViolet()
           Gets a system-defined color.
static Color Color.getBrown()
           Gets a system-defined color.
static Color Color.getBurlyWood()
           Gets a system-defined color.
static Color Color.getCadetBlue()
           Gets a system-defined color.
static Color Color.getChartreuse()
           Gets a system-defined color.
static Color Color.getChocolate()
           Gets a system-defined color.
 Color Pen.getColor()
           Gets the color of this Pen.
 Color ColorPalette.getColor(int index)
           Gets the palette color by index.
 Color[] ColorBlend.getColors()
           Gets an array of colors that represents the colors to use at corresponding positions along a gradient.
static Color Color.getCoral()
           Gets a system-defined color.
static Color Color.getCornflowerBlue()
           Gets a system-defined color.
static Color Color.getCornsilk()
           Gets a system-defined color.
static Color Color.getCrimson()
           Gets a system-defined color.
static Color Color.getCyan()
           Gets a system-defined color.
static Color Color.getDarkBlue()
           Gets a system-defined color.
static Color Color.getDarkCyan()
           Gets a system-defined color.
static Color Color.getDarkGoldenrod()
           Gets a system-defined color.
static Color Color.getDarkGray()
           Gets a system-defined color.
static Color Color.getDarkGreen()
           Gets a system-defined color.
static Color Color.getDarkKhaki()
           Gets a system-defined color.
static Color Color.getDarkMagenta()
           Gets a system-defined color.
static Color Color.getDarkOliveGreen()
           Gets a system-defined color.
static Color Color.getDarkOrange()
           Gets a system-defined color.
static Color Color.getDarkOrchid()
           Gets a system-defined color.
static Color Color.getDarkRed()
           Gets a system-defined color.
static Color Color.getDarkSalmon()
           Gets a system-defined color.
static Color Color.getDarkSeaGreen()
           Gets a system-defined color.
static Color Color.getDarkSlateBlue()
           Gets a system-defined color.
static Color Color.getDarkSlateGray()
           Gets a system-defined color.
static Color Color.getDarkTurquoise()
           Gets a system-defined color.
static Color Color.getDarkViolet()
           Gets a system-defined color.
static Color Color.getDeepPink()
           Gets a system-defined color.
static Color Color.getDeepSkyBlue()
           Gets a system-defined color.
static Color Color.getDimGray()
           Gets a system-defined color.
static Color Color.getDodgerBlue()
           Gets a system-defined color.
static Color Color.getEmpty()
           Gets an empty Color.
 Color[] ColorPalette.getEntries()
           Gets an array of Color structures.
static Color Color.getFirebrick()
           Gets a system-defined color.
static Color Color.getFloralWhite()
           Gets a system-defined color.
static Color Color.getForestGreen()
           Gets a system-defined color.
static Color Color.getFuchsia()
           Gets a system-defined color.
static Color Color.getGainsboro()
           Gets a system-defined color.
static Color Color.getGhostWhite()
           Gets a system-defined color.
static Color Color.getGold()
           Gets a system-defined color.
static Color Color.getGoldenrod()
           Gets a system-defined color.
static Color Color.getGray()
           Gets a system-defined color.
static Color Color.getGreen()
           Gets a system-defined color.
static Color Color.getGreenYellow()
           Gets a system-defined color.
static Color Color.getHoneydew()
           Gets a system-defined color.
static Color Color.getHotPink()
           Gets a system-defined color.
static Color Color.getIndianRed()
           Gets a system-defined color.
static Color Color.getIndigo()
           Gets a system-defined color.
static Color Color.getIvory()
           Gets a system-defined color.
static Color Color.getKhaki()
           Gets a system-defined color.
static Color Color.getLavender()
           Gets a system-defined color.
static Color Color.getLavenderBlush()
           Gets a system-defined color.
static Color Color.getLawnGreen()
           Gets a system-defined color.
static Color Color.getLemonChiffon()
           Gets a system-defined color.
static Color Color.getLightBlue()
           Gets a system-defined color.
static Color Color.getLightCoral()
           Gets a system-defined color.
static Color Color.getLightCyan()
           Gets a system-defined color.
static Color Color.getLightGoldenrodYellow()
           Gets a system-defined color.
static Color Color.getLightGray()
           Gets a system-defined color.
static Color Color.getLightGreen()
           Gets a system-defined color.
static Color Color.getLightPink()
           Gets a system-defined color.
static Color Color.getLightSalmon()
           Gets a system-defined color.
static Color Color.getLightSeaGreen()
           Gets a system-defined color.
static Color Color.getLightSkyBlue()
           Gets a system-defined color.
static Color Color.getLightSlateGray()
           Gets a system-defined color.
static Color Color.getLightSteelBlue()
           Gets a system-defined color.
static Color Color.getLightYellow()
           Gets a system-defined color.
static Color Color.getLime()
           Gets a system-defined color.
static Color Color.getLimeGreen()
           Gets a system-defined color.
static Color Color.getLinen()
           Gets a system-defined color.
static Color Color.getMagenta()
           Gets a system-defined color.
static Color Color.getMaroon()
           Gets a system-defined color.
static Color Color.getMediumAquamarine()
           Gets a system-defined color.
static Color Color.getMediumBlue()
           Gets a system-defined color.
static Color Color.getMediumOrchid()
           Gets a system-defined color.
static Color Color.getMediumPurple()
           Gets a system-defined color.
static Color Color.getMediumSeaGreen()
           Gets a system-defined color.
static Color Color.getMediumSlateBlue()
           Gets a system-defined color.
static Color Color.getMediumSpringGreen()
           Gets a system-defined color.
static Color Color.getMediumTurquoise()
           Gets a system-defined color.
static Color Color.getMediumVioletRed()
           Gets a system-defined color.
static Color Color.getMidnightBlue()
           Gets a system-defined color.
static Color Color.getMintCream()
           Gets a system-defined color.
static Color Color.getMistyRose()
           Gets a system-defined color.
static Color Color.getMoccasin()
           Gets a system-defined color.
static Color Color.getNavajoWhite()
           Gets a system-defined color.
static Color Color.getNavy()
           Gets a system-defined color.
 Color ColorMap.getNewColor()
           Gets the new Color structure to which to convert.
 Color ColorMap.getOldColor()
           Gets the existing Color structure to be converted.
static Color Color.getOldLace()
           Gets a system-defined color.
static Color Color.getOlive()
           Gets a system-defined color.
static Color Color.getOliveDrab()
           Gets a system-defined color.
static Color Color.getOrange()
           Gets a system-defined color.
static Color Color.getOrangeRed()
           Gets a system-defined color.
static Color Color.getOrchid()
           Gets a system-defined color.
static Color Color.getPaleGoldenrod()
           Gets a system-defined color.
static Color Color.getPaleGreen()
           Gets a system-defined color.
static Color Color.getPaleTurquoise()
           Gets a system-defined color.
static Color Color.getPaleVioletRed()
           Gets a system-defined color.
static Color Color.getPapayaWhip()
           Gets a system-defined color.
static Color Color.getPeachPuff()
           Gets a system-defined color.
static Color Color.getPeru()
           Gets a system-defined color.
static Color Color.getPink()
           Gets a system-defined color.
 Color RasterImage.getPixel(int x, int y)
           Gets an image pixel.
static Color Color.getPlum()
           Gets a system-defined color.
static Color Color.getPowderBlue()
           Gets a system-defined color.
static Color Color.getPurple()
           Gets a system-defined color.
static Color Color.getRed()
           Gets a system-defined color.
static Color Color.getRosyBrown()
           Gets a system-defined color.
static Color Color.getRoyalBlue()
           Gets a system-defined color.
static Color Color.getSaddleBrown()
           Gets a system-defined color.
static Color Color.getSalmon()
           Gets a system-defined color.
static Color Color.getSandyBrown()
           Gets a system-defined color.
static Color Color.getSeaGreen()
           Gets a system-defined color.
static Color Color.getSeaShell()
           Gets a system-defined color.
static Color Color.getSienna()
           Gets a system-defined color.
static Color Color.getSilver()
           Gets a system-defined color.
static Color Color.getSkyBlue()
           Gets a system-defined color.
static Color Color.getSlateBlue()
           Gets a system-defined color.
static Color Color.getSlateGray()
           Gets a system-defined color.
static Color Color.getSnow()
           Gets a system-defined color.
static Color Color.getSpringGreen()
           Gets a system-defined color.
static Color Color.getSteelBlue()
           Gets a system-defined color.
static Color Color.getTan()
           Gets a system-defined color.
static Color Color.getTeal()
           Gets a system-defined color.
static Color Color.getThistle()
           Gets a system-defined color.
static Color Color.getTomato()
           Gets a system-defined color.
static Color Color.getTransparent()
           Gets a system-defined color.
static Color Color.getTurquoise()
           Gets a system-defined color.
static Color Color.getViolet()
           Gets a system-defined color.
static Color Color.getWheat()
           Gets a system-defined color.
static Color Color.getWhite()
           Gets a system-defined color.
static Color Color.getWhiteSmoke()
           Gets a system-defined color.
static Color Color.getYellow()
           Gets a system-defined color.
static Color Color.getYellowGreen()
           Gets a system-defined color.
 Color[] RasterImage.loadPixels(Rectangle rectangle)
           Loads pixels.
protected abstract  Color[] RasterImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
 Color[] RasterImage.readScanLine(int scanLineIndex)
           Reads the whole scan line by the specified scan line index.
 

Methods in com.aspose.imaging with parameters of type Color
 void Graphics.clear(Color color)
           Clears the graphics surface using the specified color.
 void Color.CloneTo(Color that)
           
static boolean Color.equals(Color left, Color right)
           
static Color Color.fromArgb(int alpha, Color baseColor)
           Creates a Color structure from the specified Color structure, but with the new specified alpha value.
protected  Rectangle Image.getFitRectangle(Rectangle rectangle, Color[] pixels)
           Gets rectangle which fits the current bitmap taking into account the pixels passed.
static Rectangle Image.getFittingRectangle(Rectangle rectangle, Color[] pixels, int width, int height)
           Gets rectangle which fits the current image.
 int ColorPalette.getNearestColorIndex(Color color)
           Gets the index of the nearest color.
static boolean Color.op_Equality(Color left, Color right)
           Tests whether two specified Color structures are equivalent.
static boolean Color.op_Inequality(Color left, Color right)
           Tests whether two specified Color structures are different.
protected  void RasterImage.rotateFlip(Color[] rotatedPixels, int newWidth, int newHeight)
           Performs (completes) rotate, flip or both rotate and flip operation.
 void RasterImage.savePixels(Rectangle rectangle, Color[] pixels)
           Saves the pixels.
protected abstract  void RasterImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 void Pen.setColor(Color value)
           Sets the color of this Pen.
 void ImageAttributes.setColorKey(Color colorLow, Color colorHigh)
           Sets the color key for the default category.
 void ImageAttributes.setColorKey(Color colorLow, Color colorHigh, int type)
           Sets the color key (transparency range) for a specified category.
 void ColorBlend.setColors(Color[] value)
           Sets an array of colors that represents the colors to use at corresponding positions along a gradient.
 void ColorMap.setNewColor(Color value)
           Sets the new Color structure to which to convert.
 void ColorMap.setOldColor(Color value)
           Sets the existing Color structure to be converted.
 void RasterImage.setPixel(int x, int y, Color color)
           Sets an image pixel for the specified position.
 void ImageAttributes.setWrapMode(int mode, Color color)
           Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries.
 void ImageAttributes.setWrapMode(int mode, Color color, boolean clamp)
           Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries.
static java.lang.String ColorTranslator.toHtml(Color c)
           Creates HTML color from the color.
static int ColorTranslator.toOle(Color c)
           Translates OLE color to color.
static int ColorTranslator.toWin32(Color c)
           Translates the color to win32 color.
 void RasterImage.writeScanLine(int scanLineIndex, Color[] pixels)
           Writes the whole scan line to the specified scan line index.
 

Constructors in com.aspose.imaging with parameters of type Color
ColorPalette(Color[] entries)
           Initializes a new instance of the ColorPalette class.
Pen(Color color)
           Initializes a new instance of the Pen class with the specified color.
Pen(Color color, float width)
           Initializes a new instance of the Pen class with the specified Color and Pen.Width properties.
 

Uses of Color in com.aspose.imaging.brushes
 

Methods in com.aspose.imaging.brushes that return Color
 Color HatchBrush.getBackgroundColor()
           Gets the color of spaces between the hatch lines.
 Color PathGradientBrush.getCenterColor()
           Gets the color at the center of the path gradient.
 Color SolidBrush.getColor()
           Gets the brush color.
 Color LinearGradientBrush.getEndColor()
           Gets or sets the ending gradient color.
 Color HatchBrush.getForegroundColor()
           Gets the color of hatch lines.
 Color[] LinearGradientBrush.getLinearColors()
          Deprecated. 
 Color LinearGradientBrush.getStartColor()
           Gets or sets the starting gradient color.
 Color[] PathGradientBrush.getSurroundColors()
           Gets an array of colors that correspond to the points in the path this PathGradientBrush fills.
 

Methods in com.aspose.imaging.brushes with parameters of type Color
 void HatchBrush.setBackgroundColor(Color value)
           Sets the color of spaces between the hatch lines.
 void PathGradientBrush.setCenterColor(Color value)
           Sets the color at the center of the path gradient.
 void SolidBrush.setColor(Color value)
           Sets the brush color.
 void LinearGradientBrush.setEndColor(Color value)
           
 void HatchBrush.setForegroundColor(Color value)
           Sets the color of hatch lines.
 void LinearGradientBrush.setLinearColors(Color[] value)
          Deprecated. 
 void LinearGradientBrush.setStartColor(Color value)
           
 void PathGradientBrush.setSurroundColors(Color[] value)
           Sets an array of colors that correspond to the points in the path this PathGradientBrush fills.
 

Constructors in com.aspose.imaging.brushes with parameters of type Color
LinearGradientBrush(PointF point1, PointF point2, Color color1, Color color2)
           Initializes a new instance of the LinearGradientBrush class with the specified points and colors.
LinearGradientBrush(Point point1, Point point2, Color color1, Color color2)
           Initializes a new instance of the LinearGradientBrush class with the specified points and colors.
LinearGradientBrush(Rectangle rect, Color color1, Color color2, float angle)
           Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
LinearGradientBrush(Rectangle rect, Color color1, Color color2, float angle, boolean isAngleScalable)
           Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
LinearGradientBrush(RectangleF rect, Color color1, Color color2, float angle)
           Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
LinearGradientBrush(RectangleF rect, Color color1, Color color2, float angle, boolean isAngleScalable)
           Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
SolidBrush(Color color)
           Initializes a new instance of the SolidBrush class.
 

Uses of Color in com.aspose.imaging.fileformats.bmp
 

Methods in com.aspose.imaging.fileformats.bmp that return Color
protected  Color[] BmpImage.loadPixelsInternal(Rectangle rectangle)
          Deprecated. 

Loads pixels (format specific method).

 

Methods in com.aspose.imaging.fileformats.bmp with parameters of type Color
protected  void BmpImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
          Deprecated. 

Saves pixels (format specific method).

 

Uses of Color in com.aspose.imaging.fileformats.gif
 

Methods in com.aspose.imaging.fileformats.gif that return Color
 Color GifImage.getBackgroundColor()
           Gets the background color.
protected  Color[] GifImage.loadPixelsInternal(Rectangle rectangle)
          Deprecated. 

Loads the pixels.

 

Methods in com.aspose.imaging.fileformats.gif with parameters of type Color
protected  void GifImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
          Deprecated. 

Saves the pixels.

 void GifImage.setBackgroundColor(Color value)
           Sets the background color.
 

Uses of Color in com.aspose.imaging.fileformats.gif.blocks
 

Methods in com.aspose.imaging.fileformats.gif.blocks that return Color
protected  Color[] GifFrameBlock.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
 

Methods in com.aspose.imaging.fileformats.gif.blocks with parameters of type Color
protected  void GifFrameBlock.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Color in com.aspose.imaging.fileformats.jpeg
 

Methods in com.aspose.imaging.fileformats.jpeg that return Color
protected  Color[] JpegImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
 

Methods in com.aspose.imaging.fileformats.jpeg with parameters of type Color
protected  void JpegImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Color in com.aspose.imaging.fileformats.png
 

Methods in com.aspose.imaging.fileformats.png that return Color
protected  Color[] PngImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
 

Methods in com.aspose.imaging.fileformats.png with parameters of type Color
protected  void PngImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Color in com.aspose.imaging.fileformats.psd
 

Methods in com.aspose.imaging.fileformats.psd that return Color
 Color PsdColorPalette.getColor(int index)
           Gets the palette color by index.
 Color[] PsdColorPalette.getEntries()
           Gets an array of Color structures.
 Color PsdColorPalette.getTransparentColor()
           Gets the transparent color.
protected  Color[] PsdImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
 

Methods in com.aspose.imaging.fileformats.psd with parameters of type Color
 int PsdColorPalette.getNearestColorIndex(Color color)
           Gets the index of the nearest color.
protected  void PsdImage.rotateFlip(Color[] rotatedPixels, int newWidth, int newHeight)
           Performs (completes) rotate, flip or both rotate and flip operation.
protected  void PsdImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Constructors in com.aspose.imaging.fileformats.psd with parameters of type Color
PsdColorPalette(Color[] colorPaletteEntries)
           Initializes a new instance of the PsdColorPalette class.
PsdColorPalette(Color[] colorPaletteEntries, short transparentIndex)
           Initializes a new instance of the PsdColorPalette class.
 

Uses of Color in com.aspose.imaging.fileformats.psd.resources
 

Methods in com.aspose.imaging.fileformats.psd.resources that return Color
 Color[] ThumbnailResource.getThumbnailData()
           Gets the thumbnail data.
 

Methods in com.aspose.imaging.fileformats.psd.resources with parameters of type Color
 void ThumbnailResource.setThumbnailData(Color[] value)
           Sets the thumbnail data.
 

Uses of Color in com.aspose.imaging.fileformats.tiff
 

Methods in com.aspose.imaging.fileformats.tiff that return Color
protected  Color[] TiffImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
 

Methods in com.aspose.imaging.fileformats.tiff with parameters of type Color
protected  void TiffImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Color in com.aspose.imaging.interfaces
 

Methods in com.aspose.imaging.interfaces that return Color
 Color IColorPalette.getColor(int index)
           
 Color[] IColorPalette.getEntries()
           
 Color IPsdColorPalette.getTransparentColor()
           
 

Methods in com.aspose.imaging.interfaces with parameters of type Color
 int IColorPalette.getNearestColorIndex(Color color)