Skip to main content

PdfPoint Struct

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

A point in PDF user space. Coordinates are in points (1/72 inch) with the origin at the page's bottom-left corner; Y increases upward (PDF convention, not screen convention).

public struct PdfPoint

Inheritance: ValueType -> PdfPoint

Implements: IEquatable<PdfPoint>

Constructors

NameDescription
PdfPointA point in PDF user space. Coordinates are in points (1/72 inch) with the origin at the page's bottom-left corner; Y increases upward (PDF convention, not screen convention).

PdfPoint Constructor

A point in PDF user space. Coordinates are in points (1/72 inch) with the origin at the page's bottom-left corner; Y increases upward (PDF convention, not screen convention).

public PdfPoint(double X, double Y)

Parameters

X double

Y double

Methods

NameDescription
DeconstructNo summary available.
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Deconstruct Method

public void Deconstruct(double& X, double& Y)

Parameters

X double&

Y double&

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.Pdf.Core.PdfPoint other)
Parameters

other Avalonia.Controls.Pdf.Core.PdfPoint

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
XNo summary available.
YNo summary available.

X Property

public double X { get; set; }

Y Property

public double Y { get; set; }