PdfColor(PdfColorSpace, ReadOnlySpan) Constructor

Definition

Assembly Broadside.dll

Initializes a new instance of the PdfColor struct.

public PdfColor(PdfColorSpace colorSpace, ReadOnlySpan<float> components)

Parameters

colorSpace
PdfColorSpace

The colour space.

components
ReadOnlySpan<Single>

The component values; values are not clipped.