Show / Hide Table of Contents

Class Rect

Inheritance
System.Object
Java.Lang.Object
Rect
Implements
Android.Runtime.IJavaObject
Java.Interop.IJavaPeerable
System.IDisposable
Inherited Members
Java.Lang.Object.Java.Interop.IJavaPeerable.DisposeUnlessReferenced()
Java.Lang.Object.Java.Interop.IJavaPeerable.Disposed()
Java.Lang.Object.Java.Interop.IJavaPeerable.Finalized()
Java.Lang.Object.Java.Interop.IJavaPeerable.SetJniIdentityHashCode(System.Int32)
Java.Lang.Object.Java.Interop.IJavaPeerable.SetJniManagedPeerState(Java.Interop.JniManagedPeerStates)
Java.Lang.Object.Java.Interop.IJavaPeerable.SetPeerReference(Java.Interop.JniObjectReference)
Java.Lang.Object.Dispose()
Java.Lang.Object.Dispose(System.Boolean)
Java.Lang.Object.GetObject<T>(System.IntPtr, System.IntPtr, Android.Runtime.JniHandleOwnership)
Java.Lang.Object.GetObject<T>(System.IntPtr, Android.Runtime.JniHandleOwnership)
Java.Lang.Object.FromArray<T>(T[])
Java.Lang.Object.Clone()
Java.Lang.Object.Equals(Java.Lang.Object)
Java.Lang.Object.JavaFinalize()
Java.Lang.Object.GetHashCode()
Java.Lang.Object.Notify()
Java.Lang.Object.NotifyAll()
Java.Lang.Object.ToString()
Java.Lang.Object.Wait()
Java.Lang.Object.Wait(System.Int64)
Java.Lang.Object.Wait(System.Int64, System.Int32)
Java.Lang.Object.Java.Interop.IJavaPeerable.JniManagedPeerState
Java.Lang.Object.Class
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftronprivate.PDF
Assembly: PDFNetAndroid.dll
Syntax
[Register("com/pdftron/pdf/Rect", DoNotGenerateAcw = true)]
public class Rect : Object, IJavaObject, IJavaPeerable, IDisposable

Constructors

Rect()

Declaration
[Register(".ctor", "()V", "")]
public Rect()

Rect(DoubleRectangle2D)

Declaration
[Register(".ctor", "(Lcom/pdftron/helpers/DoubleRectangle2D;)V", "")]
public Rect(DoubleRectangle2D p0)
Parameters
Type Name Description
DoubleRectangle2D p0

Rect(Double, Double, Double, Double)

Declaration
[Register(".ctor", "(DDDD)V", "")]
public Rect(double p0, double p1, double p2, double p3)
Parameters
Type Name Description
System.Double p0
System.Double p1
System.Double p2
System.Double p3

Rect(IntPtr, JniHandleOwnership)

Declaration
protected Rect(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type Name Description
System.IntPtr javaReference
Android.Runtime.JniHandleOwnership transfer

Properties

Height

Declaration
public virtual double Height
{
    [Register("getHeight", "()D", "GetGetHeightHandler")]
    get;
}
Property Value
Type Description
System.Double

Rectangle

Declaration
public virtual DoubleRectangle2D Rectangle
{
    [Register("getRectangle", "()Lcom/pdftron/helpers/DoubleRectangle2D;", "GetGetRectangleHandler")]
    get;
}
Property Value
Type Description
DoubleRectangle2D

Width

Declaration
public virtual double Width
{
    [Register("getWidth", "()D", "GetGetWidthHandler")]
    get;
}
Property Value
Type Description
System.Double

X1

Declaration
public virtual double X1
{
    [Register("getX1", "()D", "GetGetX1Handler")]
    get;
    [Register("setX1", "(D)V", "GetSetX1_DHandler")]
    set;
}
Property Value
Type Description
System.Double

X2

Declaration
public virtual double X2
{
    [Register("getX2", "()D", "GetGetX2Handler")]
    get;
    [Register("setX2", "(D)V", "GetSetX2_DHandler")]
    set;
}
Property Value
Type Description
System.Double

Y1

Declaration
public virtual double Y1
{
    [Register("getY1", "()D", "GetGetY1Handler")]
    get;
    [Register("setY1", "(D)V", "GetSetY1_DHandler")]
    set;
}
Property Value
Type Description
System.Double

Y2

Declaration
public virtual double Y2
{
    [Register("getY2", "()D", "GetGetY2Handler")]
    get;
    [Register("setY2", "(D)V", "GetSetY2_DHandler")]
    set;
}
Property Value
Type Description
System.Double

Methods

__Create(Int64)

Declaration
[Register("__Create", "(J)Lcom/pdftron/pdf/Rect;", "")]
public static Rect __Create(long p0)
Parameters
Type Name Description
System.Int64 p0
Returns
Type Description
Rect

__GetHandle()

Declaration
[Register("__GetHandle", "()J", "Get__GetHandleHandler")]
public virtual long __GetHandle()
Returns
Type Description
System.Int64

Contains(Double, Double)

Declaration
[Register("contains", "(DD)Z", "GetContains_DDHandler")]
public virtual bool Contains(double p0, double p1)
Parameters
Type Name Description
System.Double p0
System.Double p1
Returns
Type Description
System.Boolean

Destroy()

Declaration
[Register("destroy", "()V", "GetDestroyHandler")]
public virtual void Destroy()

Get()

Declaration
[Register("get", "()[D", "GetGetHandler")]
public virtual double[] Get()
Returns
Type Description
System.Double[]

Inflate(Double)

Declaration
[Register("inflate", "(D)V", "GetInflate_DHandler")]
public virtual void Inflate(double p0)
Parameters
Type Name Description
System.Double p0

Inflate(Double, Double)

Declaration
[Register("inflate", "(DD)V", "GetInflate_DDHandler")]
public virtual void Inflate(double p0, double p1)
Parameters
Type Name Description
System.Double p0
System.Double p1

IntersectRect(Rect, Rect)

Declaration
[Register("intersectRect", "(Lcom/pdftron/pdf/Rect;Lcom/pdftron/pdf/Rect;)Z", "GetIntersectRect_Lcom_pdftron_pdf_Rect_Lcom_pdftron_pdf_Rect_Handler")]
public virtual bool IntersectRect(Rect p0, Rect p1)
Parameters
Type Name Description
Rect p0
Rect p1
Returns
Type Description
System.Boolean

Normalize()

Declaration
[Register("normalize", "()V", "GetNormalizeHandler")]
public virtual void Normalize()

Set(DoubleRectangle2D)

Declaration
[Register("set", "(Lcom/pdftron/helpers/DoubleRectangle2D;)V", "GetSet_Lcom_pdftron_helpers_DoubleRectangle2D_Handler")]
public virtual void Set(DoubleRectangle2D p0)
Parameters
Type Name Description
DoubleRectangle2D p0

Set(Double, Double, Double, Double)

Declaration
[Register("set", "(DDDD)V", "GetSet_DDDDHandler")]
public virtual void Set(double p0, double p1, double p2, double p3)
Parameters
Type Name Description
System.Double p0
System.Double p1
System.Double p2
System.Double p3

Update()

Declaration
[Register("update", "()Z", "GetUpdateHandler")]
public virtual bool Update()
Returns
Type Description
System.Boolean

Implements

Android.Runtime.IJavaObject
Java.Interop.IJavaPeerable
System.IDisposable
In This Article
Back to top Generated by DocFX