Click or drag to resize

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: ExpertPdf.Anywhere.Drawing
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public static Color FromArgb(
	int alpha,
	int red,
	int green,
	int blue
)

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

Color
A color with the specified components.
See Also