Edit

Share via


SKColorFilter.CreateTable Method

Definition

Overloads

Name Description
CreateTable(Byte[])

Creates a new table color filter.

CreateTable(ReadOnlySpan<Byte>)

Creates a new table color filter.

CreateTable(Byte[], Byte[], Byte[], Byte[])

Creates a new table color filter.

CreateTable(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Creates a new table color filter with separate tables for each color component.

CreateTable(Byte[])

Creates a new table color filter.

public static SkiaSharp.SKColorFilter CreateTable(byte[] table);

Parameters

table
Byte[]

The table of values for each color component, with a length of MaxLength.

Returns

Returns the new SKColorFilter.

Applies to

CreateTable(ReadOnlySpan<Byte>)

Creates a new table color filter.

public static SkiaSharp.SKColorFilter CreateTable(ReadOnlySpan<byte> table);

Parameters

table
ReadOnlySpan<Byte>

The table of values for each color component, with a length of TableMaxLength.

Returns

Returns the new SKColorFilter.

Applies to

CreateTable(Byte[], Byte[], Byte[], Byte[])

Creates a new table color filter.

public static SkiaSharp.SKColorFilter CreateTable(byte[] tableA, byte[] tableR, byte[] tableG, byte[] tableB);

Parameters

tableA
Byte[]

The table of values for the alpha component, with a length of MaxLength.

tableR
Byte[]

The table of values for the red component, with a length of MaxLength.

tableG
Byte[]

The table of values for the green component, with a length of MaxLength.

tableB
Byte[]

The table of values for the blue component, with a length of MaxLength.

Returns

Returns the new SKColorFilter.

Applies to

CreateTable(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Creates a new table color filter with separate tables for each color component.

public static SkiaSharp.SKColorFilter CreateTable(ReadOnlySpan<byte> tableA, ReadOnlySpan<byte> tableR, ReadOnlySpan<byte> tableG, ReadOnlySpan<byte> tableB);

Parameters

tableA
ReadOnlySpan<Byte>

The table of values for the alpha component, with a length of TableMaxLength.

tableR
ReadOnlySpan<Byte>

The table of values for the red component, with a length of TableMaxLength.

tableG
ReadOnlySpan<Byte>

The table of values for the green component, with a length of TableMaxLength.

tableB
ReadOnlySpan<Byte>

The table of values for the blue component, with a length of TableMaxLength.

Returns

Returns the new SKColorFilter.

Applies to