Show / Hide Table of Contents

Class GeometryCollection

A Preprocessed PDF geometry collection

Inheritance
System.Object
GeometryCollection
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftron.PDF
Assembly: PDFNetAndroid.dll
Syntax
public class GeometryCollection : IDisposable

Constructors

GeometryCollection(IntPtr)

Declaration
public GeometryCollection(IntPtr impl_ptr)
Parameters
Type Name Description
System.IntPtr impl_ptr

Methods

Destroy()

Declaration
public void Destroy()

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Finalize()

Declaration
protected void Finalize()

SnapToNearest(Double, Double, UInt32)

return the point within the collection which is closest to the queried point. All values are in the page coordinate space.

Declaration
public Point SnapToNearest(double x, double y, uint mode)
Parameters
Type Name Description
System.Double x

the x coordinate to snap, in page coordinates

System.Double y

the y coordinate to snap, in page coordinates

System.UInt32 mode

a combination of flags from the SnappingMode enumeration

Returns
Type Description
Point

a point within the collection, closest to the queried point. If the collection is empty, the queried point will be returned unchanged

SnapToNearestPixel(Double, Double, Double, UInt32)

return the point within the collection which is closest to the queried point. All values are in the page coordinate space.

Declaration
public Point SnapToNearestPixel(double x, double y, double dpi, uint mode)
Parameters
Type Name Description
System.Double x

the x coordinate to snap

System.Double y

the y coordinate to snap

System.Double dpi

the resolution of the rendered page, in pixels per inch

System.UInt32 mode

a combination of flags from the SnappingMode enumeration

Returns
Type Description
Point

a point within the collection, closest to the queried point. If the collection is empty, the queried point will be returned unchanged

Implements

System.IDisposable
In This Article
Back to top Generated by DocFX