 |
ColorFromArgb(Int32, Int32, Int32, Int32) Method |
Constructs a color with the given alpha/red/green/blue components. Each value is
clamped to 0–255.
Namespace: SelectPdf.Universal.DrawingAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic static Color FromArgb(
int alpha,
int red,
int green,
int blue
)
Public Shared Function FromArgb (
alpha As Integer,
red As Integer,
green As Integer,
blue As Integer
) As Color
Parameters
- alpha Int32
- The alpha component (0 = transparent, 255 = opaque; clamped).
- red Int32
- The red component (0–255; clamped).
- green Int32
- The green component (0–255; clamped).
- blue Int32
- The blue component (0–255; clamped).
Return Value
ColorA color with the specified components.
See Also