Table of Contents

Struct ToColor

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll
public struct ToColor : IConvertOperation<Color>
Implements
Inherited Members

Methods

Convert(ReaderValue, IEnumerable<string>)

public static Color Convert(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Returns

Color

ConvertTo(ReaderValue, IEnumerable<string>)

Apply the operation to the ReaderValue.

This method is not usually called manually, but is called when the operation is applied to a Query.

public Color ConvertTo(ReaderValue value, IEnumerable<string> path)

Parameters

value ReaderValue
path IEnumerable<string>

Returns

Color

Operators

operator /(Query, ToColor)

public static Color operator /(Query query, ToColor op)

Parameters

query Query
op ToColor

Returns

Color