Table of Contents

Struct PdfPoint

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Represents an ordered pair of double precision floating-point x- and y-coordinates that defines a point in a two-dimensional plane.

public struct PdfPoint : IEquatable<PdfPoint>
Implements
Inherited Members

Constructors

PdfPoint(PdfPoint)

Initializes a new instance of the PdfPoint struct from the specified PdfPoint.

PdfPoint(double, double)

Initializes a new instance of the PdfPoint struct with the specified coordinates.

PdfPoint(float, float)

Initializes a new instance of the PdfPoint struct with the specified coordinates.

Fields

Empty

PdfPoint struct with zero coordinates.

Properties

IsEmpty

Gets a value indicating whether this PdfPoint is empty.

X

Gets or sets the x-coordinate of this PdfPoint.

Y

Gets or sets the y-coordinate of this PdfPoint.

Methods

Add(PdfPoint, PdfSize)

Translates a given PdfPoint by the specified PdfSize.

Equals(PdfPoint)

Tests whether this and the other points have same coordinates.

Equals(object)

Specifies whether this PdfPoint contains the same coordinates as the specified object.

GetHashCode()

Returns a hash code for this PdfPoint structure.

Subtract(PdfPoint, PdfSize)

Translates a PdfPoint by the negative of a specified size.

ToString()

Converts this PdfPoint to a human readable string.

ToString(IFormatProvider)

Converts this PdfPoint to a human readable string.

Operators

operator +(PdfPoint, PdfSize)

Translates a PdfPoint by a given PdfSize.

operator ==(PdfPoint, PdfPoint)

Compares two PdfPoint structures. The result specifies whether the values of the PdfPoint.X and PdfPoint.Y properties of the two PdfPoint structures are equal.

operator !=(PdfPoint, PdfPoint)

Determines whether the coordinates of the specified points are not equal.

operator -(PdfPoint, PdfSize)

Translates a PdfPoint by the negative of a given PdfSize.