Table of Contents

Class GrayscaleFilter

Namespace
IO.Scanbot.Imagefilters
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/imagefilters/GrayscaleFilter", DoNotGenerateAcw = true)]
public sealed class GrayscaleFilter : ParametricFilter, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
GrayscaleFilter
Implements
Inherited Members

Constructors

GrayscaleFilter()

[Register(".ctor", "()V", "")]
public GrayscaleFilter()

GrayscaleFilter(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public GrayscaleFilter(JSONObject json)

Parameters

json JSONObject

GrayscaleFilter(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public GrayscaleFilter(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

GrayscaleFilter(double, double, double)

[Register(".ctor", "(DDD)V", "")]
public GrayscaleFilter(double borderWidthFraction, double blackOutliersFraction, double whiteOutliersFraction)

Parameters

borderWidthFraction double
blackOutliersFraction double
whiteOutliersFraction double

Properties

BlackOutliersFraction

public double BlackOutliersFraction { get; set; }

Property Value

double

BorderWidthFraction

public double BorderWidthFraction { get; set; }

Property Value

double

WhiteOutliersFraction

public double WhiteOutliersFraction { get; set; }

Property Value

double

Methods

Clone()

[Register("clone", "()Lio/scanbot/imagefilters/GrayscaleFilter;", "")]
public GrayscaleFilter Clone()

Returns

GrayscaleFilter

Component1()

[Register("component1", "()D", "")]
public double Component1()

Returns

double

Component2()

[Register("component2", "()D", "")]
public double Component2()

Returns

double

Component3()

[Register("component3", "()D", "")]
public double Component3()

Returns

double

Copy(double, double, double)

[Register("copy", "(DDD)Lio/scanbot/imagefilters/GrayscaleFilter;", "")]
public GrayscaleFilter Copy(double borderWidthFraction, double blackOutliersFraction, double whiteOutliersFraction)

Parameters

borderWidthFraction double
blackOutliersFraction double
whiteOutliersFraction double

Returns

GrayscaleFilter

Default()

[Register("default", "()Lio/scanbot/imagefilters/GrayscaleFilter;", "")]
public static GrayscaleFilter Default()

Returns

GrayscaleFilter

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public override int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Get_type()

[Register("get_type", "()Ljava/lang/String;", "")]
public override string Get_type()

Returns

string

ToJson()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public override JSONObject ToJson()

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public override void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.