public class Argb32Color extends Object
| Modifier and Type | Field and Description |
|---|---|
static Argb32Color |
EMPTY |
static Argb32Color |
TRANSPARENT |
| Constructor and Description |
|---|
Argb32Color(int alpha,
int red,
int green,
int blue)
Private constructor, initializes ARGB channels.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Argb32Color other) |
boolean |
equals(Object obj) |
boolean |
equals(Rgb24Color other) |
static Argb32Color |
fromArgb(int argb) |
static Argb32Color |
fromInternal(com.groupdocs.htmlcss.drawing.Argb32Color color) |
static Argb32Color |
fromRgb(int red,
int green,
int blue) |
static Argb32Color |
fromRgb24Color(Rgb24Color rgbColor) |
static Argb32Color |
fromRgba(int red,
int green,
int blue,
int alpha) |
static Argb32Color |
fromSingleValueRgb(int value) |
int |
getAlpha() |
double |
getAlphaFraction() |
int |
getArgbValue() |
int |
getBlue() |
float |
getBrightness() |
int |
getGreen() |
float |
getHue() |
int |
getRed() |
float |
getSaturation() |
int |
getValue() |
int |
hashCode() |
boolean |
isDefault() |
boolean |
isEmpty() |
boolean |
isFullyOpaque() |
boolean |
isFullyTransparent() |
boolean |
isTranslucent() |
int |
toArgb() |
String |
toHexRGB() |
String |
toHexRGBA() |
com.groupdocs.htmlcss.drawing.Argb32Color |
toInternal() |
String |
toRGB() |
Rgb24Color |
toRgb24Color() |
String |
toRGBA() |
String |
toString() |
public static final Argb32Color EMPTY
public static final Argb32Color TRANSPARENT
public Argb32Color(int alpha,
int red,
int green,
int blue)
public boolean equals(Argb32Color other)
public boolean equals(Rgb24Color other)
public static Argb32Color fromArgb(int argb)
public static Argb32Color fromInternal(com.groupdocs.htmlcss.drawing.Argb32Color color)
public static Argb32Color fromRgb(int red, int green, int blue)
public static Argb32Color fromRgb24Color(Rgb24Color rgbColor)
public static Argb32Color fromRgba(int red, int green, int blue, int alpha)
public static Argb32Color fromSingleValueRgb(int value)
public int getAlpha()
public double getAlphaFraction()
public int getArgbValue()
public int getBlue()
public float getBrightness()
public int getGreen()
public float getHue()
public int getRed()
public float getSaturation()
public int getValue()
public boolean isDefault()
public boolean isEmpty()
public boolean isFullyOpaque()
public boolean isFullyTransparent()
public boolean isTranslucent()
public int toArgb()
public String toHexRGB()
public String toHexRGBA()
public com.groupdocs.htmlcss.drawing.Argb32Color toInternal()
public String toRGB()
public Rgb24Color toRgb24Color()
public String toRGBA()
Copyright © 2026 Aspose Pty Ltd. All rights reserved.