Package | Description |
---|---|
com.aspose.imaging |
The package is the core for nested packages and the most basic objects used for Aspose.Imaging processing.
|
com.aspose.imaging.brushes |
The package provides helper classes and methods to work with different brush types.
|
com.aspose.imaging.extensions |
The package contains extension methods.
|
com.aspose.imaging.fileformats.dicom |
The package handles Dicom file format processing
|
com.aspose.imaging.fileformats.djvu |
The package contains djvu classes
|
com.aspose.imaging.fileformats.emf.graphics |
The package contains Emf/Emf+ graphics.
|
com.aspose.imaging.fileformats.gif |
The package handles Gif file format processing.
|
com.aspose.imaging.fileformats.gif.blocks |
The package contains Gif file format entities.
|
com.aspose.imaging.fileformats.png |
The package handles Png file format processing.
|
com.aspose.imaging.fileformats.psd |
The package handles Psd file format processing.
|
com.aspose.imaging.fileformats.psd.layers |
The package contains PSD file format layers.
|
com.aspose.imaging.fileformats.psd.layers.adjustmentlayers | |
com.aspose.imaging.fileformats.psd.layers.fillsettings |
The namespace contains Fill Settings classes
|
com.aspose.imaging.fileformats.psd.layers.layereffects |
The namespace contains Layer Effects wrappers
|
com.aspose.imaging.fileformats.psd.layers.layerresources |
The package contains PSD file format entities contained in layers.
|
com.aspose.imaging.fileformats.psd.resources |
The package contains PSD file format resource entities.
|
com.aspose.imaging.fileformats.svg.graphics |
The namespace for drawing on Svg.
|
com.aspose.imaging.fileformats.tiff |
The package handles Tiff file format processing.
|
com.aspose.imaging.fileformats.webp |
The package handles WebP file format processing.
|
com.aspose.imaging.imageoptions |
The package contains classes suitable for export, save or creation of different file formats.
|
com.aspose.imaging.masking.options |
The namespace handles ImageMasking.Options processing.
|
Modifier and Type | Method and Description |
---|---|
Color |
Color.Clone() |
static Color |
Color.fromArgb(byte red,
byte green,
byte blue)
Creates a
com.aspose.imaging.Color structure from the specified 8-bit color values (red, green, and blue). |
static Color |
Color.fromArgb(byte alpha,
byte red,
byte green,
byte blue)
Creates a
com.aspose.imaging.Color structure from the four ARGB component (alpha, red, green, and blue) values. |
static Color |
Color.fromArgb(int argb)
Creates a
com.aspose.imaging.Color structure from a 32-bit ARGB value. |
static Color |
Color.fromArgb(int alpha,
Color baseColor)
Creates a
com.aspose.imaging.Color structure from the specified com.aspose.imaging.Color structure, but with the new specified alpha value. |
static Color |
Color.fromArgb(int red,
int green,
int blue)
Creates a
com.aspose.imaging.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
com.aspose.imaging.Color structure from the four ARGB component (alpha, red, green, and blue) values. |
static Color |
ColorTranslator.fromHtml(String htmlColor)
Takes color from the HTML color.
|
static Color |
Color.fromKnownColor(int color)
Creates a
com.aspose.imaging.Color structure from the specified predefined color. |
static Color |
Color.fromName(String name)
Creates a
com.aspose.imaging.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.
|
Color |
RasterCachedMultipageImage.getBackgroundColor()
Gets a value for the background color.
|
Color |
Image.getBackgroundColor()
Gets or sets a value for the background 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 |
IColorPalette.getColor(int index)
Gets the palette color by index.
|
Color |
ColorPalette.getColor(int index)
Gets the palette color by index.
|
Color[] |
ColorBlend.getColors()
Gets or sets 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.
|
Color |
LoadOptions.getDataBackgroundColor()
Gets the
Image background 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[] |
IColorPalette.getEntries()
Gets an array of
com.aspose.imaging.Color structures. |
Color[] |
ColorPalette.getEntries()
Gets an array of
com.aspose.imaging.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
com.aspose.imaging.Color structure to which to convert. |
Color |
ColorMap.getOldColor()
Gets the existing
com.aspose.imaging.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.
|
Color |
RasterImage.getTransparentColor()
Gets the image transparent color.
|
Color |
IPsdColorPalette.getTransparentColor()
Gets the transparent 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.
|
Color[] |
RasterImage.readScanLine(int scanLineIndex)
Reads the whole scan line by the specified scan line index.
|
static Color |
CmykColorHelper.toArgb(int cmykPixel)
The conversion from CMYK color to ARGB color.
|
static Color[] |
CmykColorHelper.toArgb(int[] cmykPixels)
The conversion from CMYK colors to ARGB colors.
|
static Color |
CmykColorHelper.toArgbIcc(int cmykPixel)
The conversion from CMYK color to ARGB Color using Icc conversion with default profiles.
|
static Color[] |
CmykColorHelper.toArgbIcc(int[] cmykPixels)
The conversion from CMYK colors to ARGB colors using Icc conversion with default profiles.
|
static Color[] |
CmykColorHelper.toArgbIcc(int[] cmykPixels,
InputStream cmykIccStream,
InputStream rgbIccStream)
The conversion from CMYK colors to ARGB colors using Icc conversion with custom profiles.
|
static Color |
CmykColorHelper.toArgbIcc(int cmykPixel,
InputStream cmykIccStream,
InputStream rgbIccStream)
The conversion from CMYK color to ARGB color using Icc conversion with custom profile.
|
static Color |
CmykColor.toColor(CmykColor cmykPixel)
Deprecated.
use instead CmykColorHelper#toArgb(int)
|
static Color[] |
CmykColor.toColor(CmykColor[] cmykPixels)
Deprecated.
use instead CmykColorHelper#toArgb(int[])
|
static Color |
CmykColor.toColorIcc(CmykColor cmykPixel)
Deprecated.
use instead CmykColorHelper#toArgbIcc(int)}
|
static Color[] |
CmykColor.toColorIcc(CmykColor[] cmykPixels)
Deprecated.
use instead CmykColorHelper#toArgbIcc(int[])
|
static Color[] |
CmykColor.toColorIcc(CmykColor[] cmykPixels,
InputStream cmykIccStream,
InputStream rgbIccStream)
Deprecated.
use instead CmykColorHelper#toArgbIcc(int[], InputStream, InputStream)
|
static Color |
CmykColor.toColorIcc(CmykColor cmykPixel,
InputStream cmykIccStream,
InputStream rgbIccStream)
Deprecated.
use instead CmykColorHelper#toArgbIcc(int, InputStream, InputStream)
|
Modifier and Type | Method and Description |
---|---|
void |
Graphics.clear(Color color)
Clears the graphics surface using the specified color.
|
void |
Color.CloneTo(Color that) |
static Color |
Color.fromArgb(int alpha,
Color baseColor)
Creates a
com.aspose.imaging.Color structure from the specified com.aspose.imaging.Color structure, but with the new specified alpha value. |
int |
IColorPalette.getNearestColorIndex(Color color)
Gets the index of the nearest color.
|
int |
ColorPalette.getNearestColorIndex(Color color)
Gets the index of the nearest color.
|
static boolean |
Color.isEquals(Color obj1,
Color obj2) |
void |
RasterImage.normalizeAngle(boolean resizeProportionally,
Color backgroundColor)
Normalizes the angle.
|
void |
RasterCachedMultipageImage.normalizeAngle(boolean resizeProportionally,
Color backgroundColor)
Normalizes the angle.
|
static boolean |
Color.op_Equality(Color left,
Color right)
Tests whether two specified
com.aspose.imaging.Color structures are equivalent. |
static boolean |
Color.op_Inequality(Color left,
Color right)
Tests whether two specified
com.aspose.imaging.Color structures are different. |
void |
IPartialPixelLoader.process(Rectangle pixelsRectangle,
Color[] pixels,
Point start,
Point end)
Processes the loaded pixels.
|
void |
RasterImage.replaceColor(Color oldColor,
byte oldColorDiff,
Color newColor)
Replaces one color to another with allowed difference and preserves original alpha value to save smooth edges.
|
void |
RasterImage.replaceNonTransparentColors(Color newColor)
Replaces all non-transparent colors with new color and preserves original alpha value to save smooth edges.
|
void |
RasterCachedImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
Rotate image around the center.
|
void |
RasterImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
Rotate image around the center.
|
void |
RasterCachedMultipageImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
RasterCahcedMultipageImage.Rotate image around the center. |
void |
RasterImage.savePixels(Rectangle rectangle,
Color[] pixels)
Saves the pixels.
|
void |
RasterCachedMultipageImage.setBackgroundColor(Color value)
Sets a value for the background color.
|
void |
Image.setBackgroundColor(Color value)
Gets or sets a value for the background color.
|
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) |
void |
LoadOptions.setDataBackgroundColor(Color value)
Sets the
Image background Color . |
void |
ColorMap.setNewColor(Color value)
Sets the new
com.aspose.imaging.Color structure to which to convert. |
void |
ColorMap.setOldColor(Color value)
Sets the existing
com.aspose.imaging.Color structure to be converted. |
void |
RasterImage.setPixel(int x,
int y,
Color color)
Sets an image pixel for the specified position.
|
void |
RasterImage.setTransparentColor(Color value)
Gets the image transparent color.
|
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 CmykColor |
Color.toCmyk(Color pixel)
Deprecated.
use instead CmykColorHelper#toCmyk(Color)
|
static int |
CmykColorHelper.toCmyk(Color pixel)
The conversion from ARGB color to CMYK color.
|
static CmykColor[] |
Color.toCmyk(Color[] pixels)
Deprecated.
use instead CmykColorHelper#toCmyk(Color[])
|
static int[] |
CmykColorHelper.toCmyk(Color[] pixels)
The conversion from ARGB colors to CMYK colors.
|
static CmykColor |
Color.toCmykIcc(Color pixel)
Deprecated.
use instead CmykColorHelper#toCmykIcc(Color)
|
static int |
CmykColorHelper.toCmykIcc(Color pixel)
The conversion from ARGB color to CMYK color using Icc conversion with default profiles.
|
static CmykColor[] |
Color.toCmykIcc(Color[] pixels)
Deprecated.
use instead CmykColorHelper#toCmykIcc(Color[])
|
static int[] |
CmykColorHelper.toCmykIcc(Color[] pixels)
The conversion from ARGB colors to CMYK colors using Icc conversion with default profiles.
|
static CmykColor[] |
Color.toCmykIcc(Color[] pixels,
InputStream rgbIccStream,
InputStream cmykIccStream)
Deprecated.
use instead CmykColorHelper.toCmykIcc(Color[], InputStream, InputStream)
|
static int[] |
CmykColorHelper.toCmykIcc(Color[] pixels,
InputStream rgbIccStream,
InputStream cmykIccStream)
The conversion from ARGB colors to CMYK colors using Icc conversion with custom profiles.
|
static CmykColor |
Color.toCmykIcc(Color pixel,
InputStream rgbIccStream,
InputStream cmykIccStream)
Deprecated.
use instead CmykColorHelper.toCmykIcc(Color, InputStream, InputStream)
|
static int |
CmykColorHelper.toCmykIcc(Color pixel,
InputStream rgbIccStream,
InputStream cmykIccStream)
The conversion from ARGB color to CMYK color using Icc conversion with custom profiles.
|
static 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.
|
Constructor and Description |
---|
ColorPalette(Color[] entries)
Initializes a new instance of the
ColorPalette class and IsCompactPalette is false. |
ColorPalette(Color[] entries,
boolean isCompactPalette)
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. |
Modifier and Type | Method and Description |
---|---|
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 or sets the brush color.
|
Color |
LinearGradientBrush.getEndColor()
Gets the ending gradient color.
|
Color |
HatchBrush.getForegroundColor()
Gets the color of hatch lines.
|
Color[] |
LinearGradientBrush.getLinearColors()
Deprecated.
|
Color |
LinearGradientBrush.getStartColor()
Gets the starting gradient color.
|
Color[] |
PathGradientBrush.getSurroundColors()
Gets an array of colors that correspond to the points in the path this
PathGradientBrush fills. |
Modifier and Type | Method and Description |
---|---|
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)
Gets or sets the brush color.
|
void |
LinearGradientBrush.setEndColor(Color value)
Sets the ending gradient color.
|
void |
HatchBrush.setForegroundColor(Color value)
Sets the color of hatch lines.
|
void |
LinearGradientBrush.setLinearColors(Color[] value)
Deprecated.
|
void |
LinearGradientBrush.setStartColor(Color value)
Sets the starting gradient color.
|
void |
PathGradientBrush.setSurroundColors(Color[] value)
Sets an array of colors that correspond to the points in the path this
PathGradientBrush fills. |
Constructor and Description |
---|
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)
Initializes 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)
Initializes 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)
Initializes 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)
Initializes 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. |
Modifier and Type | Method and Description |
---|---|
static Color |
ColorExtensions.toGdiColor(Color color)
Converts the
com.aspose.imaging.Color to the System.Drawing.Color . |
static com.aspose.ms.System.Drawing.Color[] |
ColorExtensions.toGdiColors(Color[] colors)
Converts the
com.aspose.imaging.Color array to the System.Drawing.Color array. |
Modifier and Type | Method and Description |
---|---|
void |
DicomImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
!:RasterCahcedMultipageImage.Rotate image around the center. |
Modifier and Type | Method and Description |
---|---|
void |
DjvuImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
!:RasterCahcedMultipageImage.Rotate image around the center. |
Modifier and Type | Method and Description |
---|---|
Color |
MetafileRecorderGraphics2D.getBackgroundColor()
Gets the color of the background.
|
Modifier and Type | Method and Description |
---|---|
void |
MetafileRecorderGraphics2D.drawString(String string,
Font font,
Color color,
int x,
int y)
Draws the string.
|
void |
MetafileRecorderGraphics2D.drawString(String string,
Font font,
Color color,
int x,
int y,
float angle)
Draws the string.
|
void |
MetafileRecorderGraphics2D.setBackgroundColor(Color value)
Sets the color of the background.
|
Modifier and Type | Method and Description |
---|---|
Color |
GifImage.getBackgroundColor()
Gets the background color.
|
Color |
GifImage.getTransparentColor()
Gets active frame transparent color.
|
Modifier and Type | Method and Description |
---|---|
void |
GifImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
!:RasterCahcedMultipageImage.Rotate image around the center. |
void |
GifImage.setBackgroundColor(Color value)
Sets the background color.
|
Modifier and Type | Method and Description |
---|---|
Color |
GifFrameBlock.getTransparentColor()
Gets the transparent color of frame block.
|
Modifier and Type | Method and Description |
---|---|
void |
GifFrameBlock.setTransparentColor(Color value)
Gets the transparent color of frame block.
|
Modifier and Type | Method and Description |
---|---|
Color |
PngImage.getBackgroundColor()
Gets the background color.
|
Color |
PngImage.getTransparentColor()
Gets the transparent color.
|
Modifier and Type | Method and Description |
---|---|
void |
PngImage.setBackgroundColor(Color value)
Gets the background color.
|
void |
PngImage.setTransparentColor(Color value)
Gets the transparent color.
|
Modifier and Type | Method and Description |
---|---|
Color |
PsdColorPalette.getColor(int index)
Gets the palette color by index.
|
Color[] |
PsdColorPalette.getEntries()
Gets an array of
Aspose.Imaging.Color structures. |
Color |
PsdColorPalette.getTransparentColor()
Gets the transparent color.
|
Modifier and Type | Method and Description |
---|---|
PhotoFilterLayer |
PsdImage.addPhotoFilterLayer(Color color)
Adds the photofilter layer.
|
int |
PsdColorPalette.getNearestColorIndex(Color color)
Gets the index of the nearest color.
|
void |
PsdImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
!:RasterCahcedMultipageImage.Rotate image around the center. |
Constructor and Description |
---|
PsdColorPalette(Color[] colorPaletteEntries)
Initializes a new instance of the
PsdColorPalette class and IsCompactPalette is false. |
PsdColorPalette(Color[] colorPaletteEntries,
boolean isCompactPalette)
Initializes a new instance of the
PsdColorPalette class. |
PsdColorPalette(Color[] colorPaletteEntries,
short transparentIndex)
Initializes a new instance of the
PsdColorPalette class and IsCompactPalette is false. |
PsdColorPalette(Color[] colorPaletteEntries,
short transparentIndex,
boolean useCompactPalette)
Initializes a new instance of the
PsdColorPalette class. |
Modifier and Type | Method and Description |
---|---|
Color |
TextLayer.getTextColor()
Gets the color of the text.
|
Modifier and Type | Method and Description |
---|---|
void |
TextLayer.updateText(String text,
Color color)
Updates the text.
|
void |
TextLayer.updateText(String text,
float fontSize,
Color color)
Updates the text.
|
void |
TextLayer.updateText(String text,
Point leftTopCoordinate,
Color color)
Updates the text.
|
void |
TextLayer.updateText(String text,
Point leftTopCoordinate,
float fontSize,
Color color)
Updates the text.
|
Modifier and Type | Method and Description |
---|---|
Color |
PhotoFilterLayer.getColor()
Gets the RGB color of filter.
|
Modifier and Type | Method and Description |
---|---|
void |
PhotoFilterLayer.setColor(Color value)
Sets the RGB color of filter.
|
Modifier and Type | Method and Description |
---|---|
Color |
PatternFillSettings.getColor()
Gets the color.
|
Color |
IGradientFillSettings.getColor()
Gets the color.
|
Color |
IGradientColorPoint.getColor()
Gets the color.
|
Color |
IColorFillSettings.getColor()
Gets the color.
|
Color |
GradientFillSettings.getColor()
Gets the color.
|
Color |
GradientColorPoint.getColor()
Gets the color.
|
Color |
ColorFillSettings.getColor()
Gets the color.
|
Modifier and Type | Method and Description |
---|---|
static com.aspose.ms.System.Collections.Generic.IGenericEnumerable<OSTypeStructure> |
PatternFillSettings.generateLfx2ResourceNodes(String pointType,
Color color,
String patternName,
String identifier,
double scale,
boolean linked,
PointF offset)
Generates the LFX2 resource nodes.
|
void |
PatternFillSettings.setColor(Color value)
Sets the color.
|
void |
IGradientFillSettings.setColor(Color value)
Sets the color.
|
void |
IGradientColorPoint.setColor(Color value)
Sets the color.
|
void |
IColorFillSettings.setColor(Color value)
Sets the color.
|
void |
GradientFillSettings.setColor(Color value)
Sets the color.
|
void |
GradientColorPoint.setColor(Color value)
Sets the color.
|
void |
ColorFillSettings.setColor(Color value)
Sets the color.
|
Modifier and Type | Method and Description |
---|---|
Color |
DropShadowEffect.getColor()
Gets the color.
|
Color |
ColorOverlayEffect.getColor()
Gets the color.
|
Modifier and Type | Method and Description |
---|---|
void |
DropShadowEffect.setColor(Color value)
Sets the color.
|
void |
ColorOverlayEffect.setColor(Color value)
Sets the color.
|
Modifier and Type | Method and Description |
---|---|
Color |
SoCoResource.getColor()
Gets the RGB color .
|
Color |
GdFlResource.getColor()
Gets the color of the RGB.
|
Color |
Lfx2Resource.getEffectColor()
Gets the color of the effect.
|
Color |
PhflResourceVersion3.getRgbColor()
Gets the color.
|
Color |
PhflResourceVersion2.getRgbColor()
Gets the color.
|
abstract Color |
PhflResource.getRgbColor()
Gets the color of the RGB.
|
Modifier and Type | Method and Description |
---|---|
void |
SoCoResource.setColor(Color value)
The RGB color .
|
void |
GdFlResource.setColor(Color value)
The color of the RGB.
|
void |
PhflResourceVersion3.setRgbColor(Color color)
Sets the RGB color.
|
void |
PhflResourceVersion2.setRgbColor(Color color)
Sets the RGB color.
|
abstract void |
PhflResource.setRgbColor(Color color)
Sets the RGB color.
|
Modifier and Type | Method and Description |
---|---|
Color[] |
ThumbnailResource.getThumbnailData()
Gets the thumbnail data.
|
Modifier and Type | Method and Description |
---|---|
void |
ThumbnailResource.setThumbnailData(Color[] value)
Sets the thumbnail data.
|
Modifier and Type | Method and Description |
---|---|
void |
SvgGraphics2D.drawString(Font font,
String text,
Point origin,
Color textColor)
Draws the text string.
|
Modifier and Type | Method and Description |
---|---|
Color |
TiffFrame.getBackgroundColor()
Gets a value for the background color.
|
Modifier and Type | Method and Description |
---|---|
void |
TiffImage.normalizeAngle(boolean resizeProportionally,
Color backgroundColor)
Normalizes the angle.
|
void |
TiffImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
!:RasterCahcedMultipageImage.Rotate image around the center. |
void |
TiffFrame.setBackgroundColor(Color value)
Sets a value for the background color.
|
Modifier and Type | Method and Description |
---|---|
void |
WebPImage.rotate(float angle,
boolean resizeProportionally,
Color backgroundColor)
!:RasterCahcedMultipageImage.Rotate image around the center. |
Modifier and Type | Method and Description |
---|---|
Color |
VectorRasterizationOptions.getBackgroundColor()
Gets a background color.
|
Color |
VectorRasterizationOptions.getDrawColor()
Gets a foreground color.
|
Modifier and Type | Method and Description |
---|---|
void |
VectorRasterizationOptions.setBackgroundColor(Color value)
Sets a background color.
|
void |
VectorRasterizationOptions.setDrawColor(Color value)
Sets a foreground color.
|
Modifier and Type | Method and Description |
---|---|
Color |
MaskingOptions.getBackgroundReplacementColor()
Gets the background replacement color.
|
Modifier and Type | Method and Description |
---|---|
void |
MaskingOptions.setBackgroundReplacementColor(Color value)
Sets the background replacement color.
|