Table of Contents

Class CanvasColorConverter

Namespace
ScanbotSDK.MAUI.Core.Image
Assembly
ScanbotSDK.Shared.dll
public class CanvasColorConverter : JsonConverter<CanvasColor>
Inheritance
CanvasColorConverter
Inherited Members

Constructors

CanvasColorConverter()

public CanvasColorConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override CanvasColor Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

CanvasColor

Write(Utf8JsonWriter, CanvasColor, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, CanvasColor color, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
color CanvasColor
options JsonSerializerOptions