PdfPoint Structure

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

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[SerializableAttribute]
public struct PdfPoint : IEquatable<PdfPoint>
VB
<SerializableAttribute>
Public Structure PdfPoint
	Implements IEquatable(Of PdfPoint)

The PdfPoint type exposes the following members.

Constructors

  NameDescription
Public methodPdfPoint(PdfPoint)
Initializes a new instance of the PdfPoint struct from the specified PdfPoint.
Public methodPdfPoint(Double, Double)
Initializes a new instance of the PdfPoint struct with the specified coordinates.
Public methodPdfPoint(Single, Single)
Initializes a new instance of the PdfPoint struct with the specified coordinates.

Properties

  NameDescription
Public propertyIsEmpty
Gets a value indicating whether this PdfPoint is empty.
Public propertyX
Gets or sets the x-coordinate of this PdfPoint.
Public propertyY
Gets or sets the y-coordinate of this PdfPoint.

Methods

  NameDescription
Public methodStatic memberAdd
Translates a given PdfPoint by the specified PdfSize.
Public methodEquals(Object)
Specifies whether this PdfPoint contains the same coordinates as the specified Object.
(Overrides ValueType.Equals(Object).)
Public methodEquals(PdfPoint)
Tests whether this and the other points have same coordinates.
Public methodGetHashCode
Returns a hash code for this PdfPoint structure.
(Overrides ValueType.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodStatic memberSubtract
Translates a PdfPoint by the negative of a specified size.
Public methodToString()
Converts this PdfPoint to a human readable string.
(Overrides ValueType.ToString().)
Public methodToString(IFormatProvider)
Converts this PdfPoint to a human readable string.

Operators

  NameDescription
Public operatorStatic memberAddition
Translates a PdfPoint by a given PdfSize.
Public operatorStatic memberEquality
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.
Public operatorStatic memberInequality
Determines whether the coordinates of the specified points are not equal.
Public operatorStatic memberSubtraction
Translates a PdfPoint by the negative of a given PdfSize.

Fields

  NameDescription
Public fieldStatic memberEmpty
PdfPoint struct with zero coordinates.

Extension Methods

  NameDescription
Public Extension MethodToPointF
Converts a PdfPoint to a PointF.
(Defined by PdfPointGdiExtensions.)

See Also