| Package | Description |
|---|---|
| com.aspose.drawing |
Aspose.Drawing is a graphics API that provides the capability of 2D drawings identical to GDI+ in your .NET applications.
|
| com.aspose.drawing.drawing2d | |
| com.aspose.drawing.imaging |
| Modifier and Type | Field and Description |
|---|---|
static Color |
Color.EMPTY
Represents a color that is null.
|
| Modifier and Type | Method and Description |
|---|---|
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)
|
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(String htmlColor)
Translates an HTML color representation to a GDI+
Color structure. |
static Color |
Color.fromKnownColor(int color)
Creates a
Color structure from the specified predefined color. |
static Color |
Color.fromName(String name)
Creates a
Color structure from the specified name of a predefined color. |
static Color |
ColorTranslator.fromOle(int oleColor)
Translates an OLE color value to a GDI+
Color structure. |
static Color |
ColorTranslator.fromWin32(int win32Color)
Translates a Windows color value to a GDI+
Color structure. |
static Color |
SystemColors.getActiveBorder()
Gets a
Color structure that is the color of the active window's border. |
static Color |
SystemColors.getActiveCaption()
Gets a
Color structure that is the color of the background of the active window's title bar. |
static Color |
SystemColors.getActiveCaptionText()
Gets a
Color structure that is the color of the text in the active window's title bar. |
static Color |
Color.getAliceBlue()
Gets a system-defined color that has an ARGB value of #FFF0F8FF.
|
static Color |
Color.getAntiqueWhite()
Gets a system-defined color that has an ARGB value of #FFFAEBD7.
|
static Color |
SystemColors.getAppWorkspace()
Gets a
Color structure that is the color of the application workspace. |
static Color |
Color.getAqua()
Gets a system-defined color that has an ARGB value of #FF00FFFF.
|
static Color |
Color.getAquamarine()
Gets a system-defined color that has an ARGB value of #FF7FFFD4.
|
static Color |
Color.getAzure()
Gets a system-defined color that has an ARGB value of #FFF0FFFF.
|
static Color |
Color.getBeige()
Gets a system-defined color that has an ARGB value of #FFF5F5DC.
|
static Color |
Color.getBisque()
Gets a system-defined color that has an ARGB value of #FFFFE4C4.
|
static Color |
Color.getBlack()
Gets a system-defined color that has an ARGB value of #FF000000.
|
static Color |
Color.getBlanchedAlmond()
Gets a system-defined color that has an ARGB value of #FFFFEBCD.
|
static Color |
Color.getBlue()
Gets a system-defined color that has an ARGB value of #FF0000FF.
|
static Color |
Color.getBlueViolet()
Gets a system-defined color that has an ARGB value of #FF8A2BE2.
|
static Color |
Color.getBrown()
Gets a system-defined color that has an ARGB value of #FFA52A2A.
|
static Color |
Color.getBurlyWood()
Gets a system-defined color that has an ARGB value of #FFDEB887.
|
static Color |
SystemColors.getButtonFace()
Gets a
Color structure that is the face color of a 3-D element. |
static Color |
SystemColors.getButtonHighlight()
Gets a
Color structure that is the highlight color of a 3-D element. |
static Color |
SystemColors.getButtonShadow()
Gets a
Color structure that is the shadow color of a 3-D element. |
static Color |
Color.getCadetBlue()
Gets a system-defined color that has an ARGB value of #FF5F9EA0.
|
static Color |
Color.getChartreuse()
Gets a system-defined color that has an ARGB value of #FF7FFF00.
|
static Color |
Color.getChocolate()
Gets a system-defined color that has an ARGB value of #FFD2691E.
|
Color |
SolidBrush.getColor()
Gets the color of this SolidBrush object.
|
Color |
Pen.getColor()
Gets or sets the color of this
Pen. |
static Color |
SystemColors.getControl()
Gets a
Color structure that is the face color of a 3-D element. |
static Color |
SystemColors.getControlDark()
Gets a
Color structure that is the shadow color of a 3-D element. |
static Color |
SystemColors.getControlDarkDark()
Gets a
Color structure that is the dark shadow color of a 3-D element. |
static Color |
SystemColors.getControlLight()
Gets a
Color structure that is the light color of a 3-D element. |
static Color |
SystemColors.getControlLightLight()
Gets a
Color structure that is the highlight color of a 3-D element. |
static Color |
SystemColors.getControlText()
Gets a
Color structure that is the color of text in a 3-D element. |
static Color |
Color.getCoral()
Gets a system-defined color that has an ARGB value of #FFFF7F50.
|
static Color |
Color.getCornflowerBlue()
Gets a system-defined color that has an ARGB value of #FF6495ED.
|
static Color |
Color.getCornsilk()
Gets a system-defined color that has an ARGB value of #FFFFF8DC.
|
static Color |
Color.getCrimson()
Gets a system-defined color that has an ARGB value of #FFDC143C.
|
static Color |
Color.getCyan()
Gets a system-defined color that has an ARGB value of #FF00FFFF.
|
static Color |
Color.getDarkBlue()
Gets a system-defined color that has an ARGB value of #FF00008B.
|
static Color |
Color.getDarkCyan()
Gets a system-defined color that has an ARGB value of #FF008B8B.
|
static Color |
Color.getDarkGoldenrod()
Gets a system-defined color that has an ARGB value of #FFB8860B.
|
static Color |
Color.getDarkGray()
Gets a system-defined color that has an ARGB value of #FFA9A9A9.
|
static Color |
Color.getDarkGreen()
Gets a system-defined color that has an ARGB value of #FF006400.
|
static Color |
Color.getDarkKhaki()
Gets a system-defined color that has an ARGB value of #FFBDB76B.
|
static Color |
Color.getDarkMagenta()
Gets a system-defined color that has an ARGB value of #FF8B008B.
|
static Color |
Color.getDarkOliveGreen()
Gets a system-defined color that has an ARGB value of #FF556B2F.
|
static Color |
Color.getDarkOrange()
Gets a system-defined color that has an ARGB value of #FFFF8C00.
|
static Color |
Color.getDarkOrchid()
Gets a system-defined color that has an ARGB value of #FF9932CC.
|
static Color |
Color.getDarkRed()
Gets a system-defined color that has an ARGB value of #FF8B0000.
|
static Color |
Color.getDarkSalmon()
Gets a system-defined color that has an ARGB value of #FFE9967A.
|
static Color |
Color.getDarkSeaGreen()
Gets a system-defined color that has an ARGB value of #FF8FBC8F.
|
static Color |
Color.getDarkSlateBlue()
Gets a system-defined color that has an ARGB value of #FF483D8B.
|
static Color |
Color.getDarkSlateGray()
Gets a system-defined color that has an ARGB value of #FF2F4F4F.
|
static Color |
Color.getDarkTurquoise()
Gets a system-defined color that has an ARGB value of #FF00CED1.
|
static Color |
Color.getDarkViolet()
Gets a system-defined color that has an ARGB value of #FF9400D3.
|
static Color |
Color.getDeepPink()
Gets a system-defined color that has an ARGB value of #FFFF1493.
|
static Color |
Color.getDeepSkyBlue()
Gets a system-defined color that has an ARGB value of #FF00BFFF.
|
static Color |
SystemColors.getDesktop()
Gets a
Color structure that is the color of the desktop. |
static Color |
Color.getDimGray()
Gets a system-defined color that has an ARGB value of #FF696969.
|
static Color |
Color.getDodgerBlue()
Gets a system-defined color that has an ARGB value of #FF1E90FF.
|
static Color |
Color.getEmpty() |
static Color |
Color.getFirebrick()
Gets a system-defined color that has an ARGB value of #FFB22222.
|
static Color |
Color.getFloralWhite()
Gets a system-defined color that has an ARGB value of #FFFFFAF0.
|
static Color |
Color.getForestGreen()
Gets a system-defined color that has an ARGB value of #FF228B22.
|
static Color |
Color.getFuchsia()
Gets a system-defined color that has an ARGB value of #FFFF00FF.
|
static Color |
Color.getGainsboro()
Gets a system-defined color that has an ARGB value of #FFDCDCDC.
|
static Color |
Color.getGhostWhite()
Gets a system-defined color that has an ARGB value of #FFF8F8FF.
|
static Color |
Color.getGold()
Gets a system-defined color that has an ARGB value of #FFFFD700.
|
static Color |
Color.getGoldenrod()
Gets a system-defined color that has an ARGB value of #FFDAA520.
|
static Color |
SystemColors.getGradientActiveCaption()
Gets a
Color structure that is the lightest color in the color gradient of an active window's title bar. |
static Color |
SystemColors.getGradientInactiveCaption()
Gets a
Color structure that is the lightest color in the color gradient of an inactive window's title bar. |
static Color |
Color.getGray()
Gets a system-defined color that has an ARGB value of #FF808080.
|
static Color |
SystemColors.getGrayText()
Gets a
Color structure that is the color of dimmed text. |
static Color |
Color.getGreen()
Gets a system-defined color that has an ARGB value of #FF008000.
|
static Color |
Color.getGreenYellow()
Gets a system-defined color that has an ARGB value of #FFADFF2F.
|
static Color |
SystemColors.getHighlight()
Gets a
Color structure that is the color of the background of selected items. |
static Color |
SystemColors.getHighlightText()
Gets a
Color structure that is the color of the text of selected items. |
static Color |
Color.getHoneydew()
Gets a system-defined color that has an ARGB value of #FFF0FFF0.
|
static Color |
Color.getHotPink()
Gets a system-defined color that has an ARGB value of #FFFF69B4.
|
static Color |
SystemColors.getHotTrack()
Gets a
Color structure that is the color used to designate a hot-tracked item. |
static Color |
SystemColors.getInactiveBorder()
Gets a
Color structure that is the color of an inactive window's border. |
static Color |
SystemColors.getInactiveCaption()
Gets a
Color structure that is the color of the background of an inactive window's title bar. |
static Color |
SystemColors.getInactiveCaptionText()
Gets a
Color structure that is the color of the text in an inactive window's title bar. |
static Color |
Color.getIndianRed()
Gets a system-defined color that has an ARGB value of #FFCD5C5C.
|
static Color |
Color.getIndigo()
Gets a system-defined color that has an ARGB value of #FF4B0082.
|
static Color |
SystemColors.getInfo()
Gets a
Color structure that is the color of the background of a ToolTip. |
static Color |
SystemColors.getInfoText()
Gets a
Color structure that is the color of the text of a ToolTip. |
static Color |
Color.getIvory()
Gets a system-defined color that has an ARGB value of #FFFFFFF0.
|
static Color |
Color.getKhaki()
Gets a system-defined color that has an ARGB value of #FFF0E68C.
|
static Color |
Color.getLavender()
Gets a system-defined color that has an ARGB value of #FFE6E6FA.
|
static Color |
Color.getLavenderBlush()
Gets a system-defined color that has an ARGB value of #FFFFF0F5.
|
static Color |
Color.getLawnGreen()
Gets a system-defined color that has an ARGB value of #FF7CFC00.
|
static Color |
Color.getLemonChiffon()
Gets a system-defined color that has an ARGB value of #FFFFFACD.
|
static Color |
Color.getLightBlue()
Gets a system-defined color that has an ARGB value of #FFADD8E6.
|
static Color |
Color.getLightCoral()
Gets a system-defined color that has an ARGB value of #FFF08080.
|
static Color |
Color.getLightCyan()
Gets a system-defined color that has an ARGB value of #FFE0FFFF.
|
static Color |
Color.getLightGoldenrodYellow()
Gets a system-defined color that has an ARGB value of #FFFAFAD2.
|
static Color |
Color.getLightGray()
Gets a system-defined color that has an ARGB value of #FFD3D3D3.
|
static Color |
Color.getLightGreen()
Gets a system-defined color that has an ARGB value of #FF90EE90.
|
static Color |
Color.getLightPink()
Gets a system-defined color that has an ARGB value of #FFFFB6C1.
|
static Color |
Color.getLightSalmon()
Gets a system-defined color that has an ARGB value of #FFFFA07A.
|
static Color |
Color.getLightSeaGreen()
Gets a system-defined color that has an ARGB value of #FF20B2AA.
|
static Color |
Color.getLightSkyBlue()
Gets a system-defined color that has an ARGB value of #FF87CEFA.
|
static Color |
Color.getLightSlateGray()
Gets a system-defined color that has an ARGB value of #FF778899.
|
static Color |
Color.getLightSteelBlue()
Gets a system-defined color that has an ARGB value of #FFB0C4DE.
|
static Color |
Color.getLightYellow()
Gets a system-defined color that has an ARGB value of #FFFFFFE0.
|
static Color |
Color.getLime()
Gets a system-defined color that has an ARGB value of #FF00FF00.
|
static Color |
Color.getLimeGreen()
Gets a system-defined color that has an ARGB value of #FF32CD32.
|
static Color |
Color.getLinen()
Gets a system-defined color that has an ARGB value of #FFFAF0E6.
|
static Color |
Color.getMagenta()
Gets a system-defined color that has an ARGB value of #FFFF00FF.
|
static Color |
Color.getMaroon()
Gets a system-defined color that has an ARGB value of #FF800000.
|
static Color |
Color.getMediumAquamarine()
Gets a system-defined color that has an ARGB value of #FF66CDAA.
|
static Color |
Color.getMediumBlue()
Gets a system-defined color that has an ARGB value of #FF0000CD.
|
static Color |
Color.getMediumOrchid()
Gets a system-defined color that has an ARGB value of #FFBA55D3.
|
static Color |
Color.getMediumPurple()
Gets a system-defined color that has an ARGB value of #FF9370DB.
|
static Color |
Color.getMediumSeaGreen()
Gets a system-defined color that has an ARGB value of #FF3CB371.
|
static Color |
Color.getMediumSlateBlue()
Gets a system-defined color that has an ARGB value of #FF7B68EE.
|
static Color |
Color.getMediumSpringGreen()
Gets a system-defined color that has an ARGB value of #FF00FA9A.
|
static Color |
Color.getMediumTurquoise()
Gets a system-defined color that has an ARGB value of #FF48D1CC.
|
static Color |
Color.getMediumVioletRed()
Gets a system-defined color that has an ARGB value of #FFC71585.
|
static Color |
SystemColors.getMenu()
Gets a
Color structure that is the color of a menu's background. |
static Color |
SystemColors.getMenuBar()
Gets a
Color structure that is the color of the background of a menu bar. |
static Color |
SystemColors.getMenuHighlight()
Gets a
Color structure that is the color used to highlight menu items when the menu appears as a flat menu. |
static Color |
SystemColors.getMenuText()
Gets a
Color structure that is the color of a menu's text. |
static Color |
Color.getMidnightBlue()
Gets a system-defined color that has an ARGB value of #FF191970.
|
static Color |
Color.getMintCream()
Gets a system-defined color that has an ARGB value of #FFF5FFFA.
|
static Color |
Color.getMistyRose()
Gets a system-defined color that has an ARGB value of #FFFFE4E1.
|
static Color |
Color.getMoccasin()
Gets a system-defined color that has an ARGB value of #FFFFE4B5.
|
static Color |
Color.getNavajoWhite()
Gets a system-defined color that has an ARGB value of #FFFFDEAD.
|
static Color |
Color.getNavy()
Gets a system-defined color that has an ARGB value of #FF000080.
|
Color |
Graphics.getNearestColor(Color color)
Gets the nearest color to the specified
Color structure. |
static Color |
Color.getOldLace()
Gets a system-defined color that has an ARGB value of #FFFDF5E6.
|
static Color |
Color.getOlive()
Gets a system-defined color that has an ARGB value of #FF808000.
|
static Color |
Color.getOliveDrab()
Gets a system-defined color that has an ARGB value of #FF6B8E23.
|
static Color |
Color.getOrange()
Gets a system-defined color that has an ARGB value of #FFFFA500.
|
static Color |
Color.getOrangeRed()
Gets a system-defined color that has an ARGB value of #FFFF4500.
|
static Color |
Color.getOrchid()
Gets a system-defined color that has an ARGB value of #FFDA70D6.
|
static Color |
Color.getPaleGoldenrod()
Gets a system-defined color that has an ARGB value of #FFEEE8AA.
|
static Color |
Color.getPaleGreen()
Gets a system-defined color that has an ARGB value of #FF98FB98.
|
static Color |
Color.getPaleTurquoise()
Gets a system-defined color that has an ARGB value of #FFAFEEEE.
|
static Color |
Color.getPaleVioletRed()
Gets a system-defined color that has an ARGB value of #FFDB7093.
|
static Color |
Color.getPapayaWhip()
Gets a system-defined color that has an ARGB value of #FFFFEFD5.
|
static Color |
Color.getPeachPuff()
Gets a system-defined color that has an ARGB value of #FFFFDAB9.
|
static Color |
Color.getPeru()
Gets a system-defined color that has an ARGB value of #FFCD853F.
|
static Color |
Color.getPink()
Gets a system-defined color that has an ARGB value of #FFFFC0CB.
|
Color |
Bitmap.getPixel(int x,
int y)
Gets the color of the specified pixel in this
Bitmap. |
static Color |
Color.getPlum()
Gets a system-defined color that has an ARGB value of #FFDDA0DD.
|
static Color |
Color.getPowderBlue()
Gets a system-defined color that has an ARGB value of #FFB0E0E6.
|
static Color |
Color.getPurple()
Gets a system-defined color that has an ARGB value of #FF800080.
|
static Color |
Color.getRebeccaPurple()
Gets a system-defined color representing the ARGB value #663399.
|
static Color |
Color.getRed()
Gets a system-defined color that has an ARGB value of #FFFF0000.
|
static Color |
Color.getRosyBrown()
Gets a system-defined color that has an ARGB value of #FFBC8F8F.
|
static Color |
Color.getRoyalBlue()
Gets a system-defined color that has an ARGB value of #FF4169E1.
|
static Color |
Color.getSaddleBrown()
Gets a system-defined color that has an ARGB value of #FF8B4513.
|
static Color |
Color.getSalmon()
Gets a system-defined color that has an ARGB value of #FFFA8072.
|
static Color |
Color.getSandyBrown()
Gets a system-defined color that has an ARGB value of #FFF4A460.
|
static Color |
SystemColors.getScrollBar()
Gets a
Color structure that is the color of the background of a scroll bar. |
static Color |
Color.getSeaGreen()
Gets a system-defined color that has an ARGB value of #FF2E8B57.
|
static Color |
Color.getSeaShell()
Gets a system-defined color that has an ARGB value of #FFFFF5EE.
|
static Color |
Color.getSienna()
Gets a system-defined color that has an ARGB value of #FFA0522D.
|
static Color |
Color.getSilver()
Gets a system-defined color that has an ARGB value of #FFC0C0C0.
|
static Color |
Color.getSkyBlue()
Gets a system-defined color that has an ARGB value of #FF87CEEB.
|
static Color |
Color.getSlateBlue()
Gets a system-defined color that has an ARGB value of #FF6A5ACD.
|
static Color |
Color.getSlateGray()
Gets a system-defined color that has an ARGB value of #FF708090.
|
static Color |
Color.getSnow()
Gets a system-defined color that has an ARGB value of #FFFFFAFA.
|
static Color |
Color.getSpringGreen()
Gets a system-defined color that has an ARGB value of #FF00FF7F.
|
static Color |
Color.getSteelBlue()
Gets a system-defined color that has an ARGB value of #FF4682B4.
|
static Color |
Color.getTan()
Gets a system-defined color that has an ARGB value of #FFD2B48C.
|
static Color |
Color.getTeal()
Gets a system-defined color that has an ARGB value of #FF008080.
|
static Color |
Color.getThistle()
Gets a system-defined color that has an ARGB value of #FFD8BFD8.
|
static Color |
Color.getTomato()
Gets a system-defined color that has an ARGB value of #FFFF6347.
|
static Color |
Color.getTransparent()
Gets a system-defined color.
|
static Color |
Color.getTurquoise()
Gets a system-defined color that has an ARGB value of #FF40E0D0.
|
static Color |
Color.getViolet()
Gets a system-defined color that has an ARGB value of #FFEE82EE.
|
static Color |
Color.getWheat()
Gets a system-defined color that has an ARGB value of #FFF5DEB3.
|
static Color |
Color.getWhite()
Gets a system-defined color that has an ARGB value of #FFFFFFFF.
|
static Color |
Color.getWhiteSmoke()
Gets a system-defined color that has an ARGB value of #FFF5F5F5.
|
static Color |
SystemColors.getWindow()
Gets a
Color structure that is the color of the background in the client area of a window. |
static Color |
SystemColors.getWindowFrame()
Gets a
Color structure that is the color of a window frame. |
static Color |
SystemColors.getWindowText()
Gets a
Color structure that is the color of the text in the client area of a window. |
static Color |
Color.getYellow()
Gets a system-defined color that has an ARGB value of #FFFFFF00.
|
static Color |
Color.getYellowGreen()
Gets a system-defined color that has an ARGB value of #FF9ACD32.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.clear(Color color)
Clears the entire drawing surface and fills it with the specified background color.
|
void |
Color.CloneTo(Color that) |
boolean |
Color.equals(Color other)
Tests whether the specified color is equivalent to this color.
|
static Color |
Color.fromArgb(int alpha,
Color baseColor)
|
Color |
Graphics.getNearestColor(Color color)
Gets the nearest color to the specified
Color structure. |
static boolean |
Color.isEquals(Color obj1,
Color obj2) |
void |
Bitmap.makeTransparent(Color transparentColor)
Makes the specified color transparent for this
Bitmap. |
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. |
void |
SolidBrush.setColor(Color value)
Sets the color of this SolidBrush object.
|
void |
Pen.setColor(Color value)
Gets or sets the color of this
Pen. |
void |
Bitmap.setPixel(int x,
int y,
Color color)
Sets the color of the specified pixel in this
Bitmap. |
static String |
ColorTranslator.toHtml(Color c)
Translates the specified
Color structure to an HTML string color representation. |
static int |
ColorTranslator.toOle(Color c)
Converts
Color structure to OLE presentation of color. |
static int |
ColorTranslator.toWin32(Color c)
Converts
Color structure to Win32 presentation of color. |
| Constructor and Description |
|---|
Pen(Color color)
Initializes a new instance of the
Pen class with the specified Color(Pen.getColor()/Pen.setColor(Color)). |
Pen(Color color,
float width)
Initializes a new instance of the Pen class with the specified Color and Width properties.
|
SolidBrush(Color color)
Initializes a new instance of the
SolidBrush class. |
| Modifier and Type | Method and Description |
|---|---|
Color |
HatchBrush.getBackgroundColor()
Gets the color of spaces between the hatch lines drawn by this
HatchBrush object. |
Color |
PathGradientBrush.getCenterColor()
Gets or sets the color at the center of the path gradient.
|
Color[] |
ColorBlend.getColors()
Gets an array of colors that represents the colors to use at corresponding positions along a gradient.
|
Color |
HatchBrush.getForegroundColor()
Gets the color of hatch lines drawn by this
HatchBrush object. |
Color[] |
LinearGradientBrush.getLinearColors()
Gets or sets the starting and ending colors of the gradient.
|
Color[] |
PathGradientBrush.getSurroundColors()
Gets or sets an array of colors that correspond to the points in the path
this
PathGradientBrush fills. |
| Modifier and Type | Method and Description |
|---|---|
void |
PathGradientBrush.setCenterColor(Color value)
Gets or sets the color at the center of the path gradient.
|
void |
ColorBlend.setColors(Color[] value)
Sets an array of colors that represents the colors to use at corresponding positions along a gradient.
|
void |
LinearGradientBrush.setLinearColors(Color[] value)
Gets or sets the starting and ending colors of the gradient.
|
void |
PathGradientBrush.setSurroundColors(Color[] value)
Gets or sets an array of colors that correspond to the points in the path
this
PathGradientBrush fills. |
| Constructor and Description |
|---|
HatchBrush(int hatchstyle,
Color foreColor)
Initializes a new instance of the
HatchBrush class with the specified
HatchStyle(HatchBrush.getHatchStyle()) enumeration and foreground color. |
HatchBrush(int hatchstyle,
Color foreColor,
Color backColor)
Initializes a new instance of the
HatchBrush class with the
specified HatchStyle(HatchBrush.getHatchStyle()) enumeration, foreground color, and background 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)
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 isAngleScaleable)
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,
int linearGradientMode)
Initializes a new instance of the
LinearGradientBrush class based on a rectangle,
starting and ending colors, and orientation. |
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 isAngleScaleable)
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,
int linearGradientMode)
Initializes a new instance of the
LinearGradientBrush class based on a rectangle,
starting and ending colors, and an orientation mode. |
| Modifier and Type | Method and Description |
|---|---|
Color[] |
ColorPalette.getEntries()
Gets an array of
com.aspose.drawing.Color structures. |
Color |
ColorMap.getNewColor()
Gets the new
Color structure to which to convert. |
Color |
ColorMap.getOldColor()
Gets the existing
Color structure to be converted. |
| Modifier and Type | Method and Description |
|---|---|
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 |
ColorPalette.setEntries(int i,
Color color) |
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 |
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.
|
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.