Show / Hide Table of Contents

Struct EdgeDetectionConfiguration

Detect edges and produce a grayscale result

Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct EdgeDetectionConfiguration

Properties

Intensity

Interpolation between pre- effect and post-effect pixels (0 to 1)

Declaration
public float Intensity { get; set; }
Property Value
Type Description
System.Single

IsFreichen

The standard edge detection algorithm is Sobel, set this as true to use Freichen

Declaration
public bool IsFreichen { get; set; }
Property Value
Type Description
System.Boolean

Methods

PreSet(Single)

Returns a pre-set effect configuration scaled between 0 and 1 (uses Freichen)

Declaration
public static EdgeDetectionConfiguration PreSet(float amount)
Parameters
Type Name Description
System.Single amount

0 to 1 intensity of effect

Returns
Type Description
EdgeDetectionConfiguration
In This Article
Back to top yak2D - Alex Paterson