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
Properties
BlackOutliersFraction
public double BlackOutliersFraction { get; set; }
Property Value
BorderWidthFraction
public double BorderWidthFraction { get; set; }
Property Value
WhiteOutliersFraction
public double WhiteOutliersFraction { get; set; }
Property Value
Methods
Clone()
[Register("clone", "()Lio/scanbot/imagefilters/GrayscaleFilter;", "")]
public GrayscaleFilter Clone()
Returns
Component1()
[Register("component1", "()D", "")]
public double Component1()
Returns
Component2()
[Register("component2", "()D", "")]
public double Component2()
Returns
Component3()
[Register("component3", "()D", "")]
public double Component3()
Returns
Copy(double, double, double)
[Register("copy", "(DDD)Lio/scanbot/imagefilters/GrayscaleFilter;", "")]
public GrayscaleFilter Copy(double borderWidthFraction, double blackOutliersFraction, double whiteOutliersFraction)
Parameters
Returns
Default()
[Register("default", "()Lio/scanbot/imagefilters/GrayscaleFilter;", "")]
public static GrayscaleFilter Default()
Returns
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
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
Get_type()
[Register("get_type", "()Ljava/lang/String;", "")]
public override string Get_type()
Returns
ToJson()
[Register("toJson", "()Lorg/json/JSONObject;", "")]
public override JSONObject ToJson()
Returns
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
Parcelflags
ParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE
.
Remarks
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the