Class Quadrangle

Class Quadrangle

Tên không gian: Aspose.BarCode.BarCodeRecognition Tổng hợp: Aspose.BarCode.dll (25.4.0)

Nó lưu trữ một bộ bốn System.Drawing.Points đại diện cho một Aspose.BarCode.BarCodeRecognition.Quadrangle khu vực.

public class Quadrangle : IEquatable<quadrangle>

Inheritance

object Quadrangle

Implements

IEquatable

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Quadrangle()

Bắt đầu một trường hợp trống mới của lớp Aspose.BarCode.BarCodeRecognition.Quadrangle.

public Quadrangle()

Quadrangle(điểm, điểm, điểm)

public Quadrangle(Point leftTop, Point rightTop, Point rightBottom, Point leftBottom)

Parameters

leftTop Point

rightTop Point

rightBottom Point

leftBottom Point

Fields

Empty

Nó đại diện cho một lớp Aspose.BarCode.BarCodeRecognition.Quadrangle với các thuộc tính của nó để lại không bắt đầu.

public static readonly Quadrangle Empty

Giá trị Field

Quadrangle

Properties

BoundingRectangle

Gets System.Drawing.Rectangle giới hạn này Aspose.BarCode.BarCodeRecognition.Quadrangle

[Browsable(false)]
public Rectangle BoundingRectangle { get; }

Giá trị bất động sản

Rectangle

IsEmpty

Kiểm tra xem tất cả System.Drawing.Points của Aspose.BarCode.BarCodeRecognition.Quadrangle có giá trị không.

[Browsable(false)]
public bool IsEmpty { get; }

Giá trị bất động sản

bool

LeftBottom

Gets left-bottom corner System.Drawing.Point of Aspose.BarCode.BarCodeRecognition.Quadrangle khu vực

public Point LeftBottom { get; set; }

Giá trị bất động sản

Point

LeftTop

Nhận góc bên trái System.Drawing.Point của Aspose.BarCode.BarCodeRecognition.Quadrangle khu vực

public Point LeftTop { get; set; }

Giá trị bất động sản

Point

RightBottom

Nhận góc phía dưới bên phải System.Drawing.Point của Aspose.BarCode.BarCodeRecognition.Quadrangle khu vực

public Point RightBottom { get; set; }

Giá trị bất động sản

Point

RightTop

Có được góc bên phải System.Drawing.Point của Aspose.BarCode.BarCodeRecognition.Quadrangle khu vực

public Point RightTop { get; set; }

Giá trị bất động sản

Point

Methods

Contains(Point)

public bool Contains(Point pt)

Parameters

pt Point

Returns

bool

Contains(int, int)

Nó xác định xem điểm được chỉ định có chứa trong lớp Aspose.BarCode.BarCodeRecognition.Quadrangle này hay không.

public bool Contains(int x, int y)

Parameters

x int

X điểm cordinate.

y int

và điểm có liên quan.

Returns

bool

Returns đúng nếu điểm được chứa trong lớp Aspose.BarCode.BarCodeRecognition.Quadrangle này; nếu không, giả.

Contains(Quadrangle)

Nó xác định liệu Aspose.BarCode.BarCodeRecognition.Quadrangle được xác định có chứa hoặc tách qua lớp Aspose.BarCode.BarCodeRecognition.Quadrangle này hay không.

public bool Contains(Quadrangle quad)

Parameters

quad Quadrangle

Các Aspose.BarCode.BarCodeRecognition.Quadrangle để kiểm tra.

Returns

bool

Returns đúng nếu Aspose.BarCode.BarCodeRecognition.Quadrangle được chứa hoặc tách rời lớp Wl18.BarcDocode Recognitions.Qua; nếu không, giả.

Contains(Rectangle)

public bool Contains(Rectangle rect)

Parameters

rect Rectangle

Returns

bool

Equals(Quadrangle)

Quay lại một giá trị cho thấy nếu mẫu này tương đương với giá trị Aspose.BarCode.BarCodeRecognition.Quadrangle cụ thể.

public bool Equals(Quadrangle other)

Parameters

other Quadrangle

Một Aspose.BarCode.BarCodeRecognition.Quadrangle giá trị để so sánh với trường hợp này.

Returns

bool

đúng nếu obj có giá trị tương tự như trường hợp này; nếu không, giả.

Equals(đối tượng)

Quay lại một giá trị cho thấy nếu mẫu này tương đương với giá trị Aspose.BarCode.BarCodeRecognition.Quadrangle cụ thể.

public override bool Equals(object obj)

Parameters

obj object

Một System.Object giá trị để so sánh với trường hợp này.

Returns

bool

đúng nếu obj có giá trị tương tự như trường hợp này; nếu không, giả.

GetHashCode()

Quay lại mã hash cho trường hợp này.

public override int GetHashCode()

Returns

int

Một 32-bit ký mã hash toàn bộ.

ToString()

Trở lại một đại diện dòng người đọc của Aspose.BarCode.BarCodeRecognition.Quadrangle này.

public override string ToString()

Returns

string

Một dòng đại diện cho Aspose.BarCode.BarCodeRecognition.Quadrangle.

Operators

Nhà điều hành =(Quadrangle , Quadrangle , Quadrangle)

Trả lại một giá trị cho thấy liệu giá trị Aspose.BarCode.BarCodeRecognition.Quadrangle đầu tiên có bằng giá trị thứ hai hay không.

public static bool operator ==(Quadrangle first, Quadrangle second)

Parameters

first Quadrangle

Giá trị so sánh đầu tiên

second Quadrangle

Giá trị so sánh thứ hai

Returns

bool

đúng Nếu đầu tiên có giá trị tương tự như thứ hai; nếu không, giả.

Nhà điều hành !=(Quadrangle , Quadrangle , Quadrangle)

Trả lại một giá trị cho biết nếu giá trị Aspose.BarCode.BarCodeRecognition.Quadrangle đầu tiên khác với giá trị thứ hai.

public static bool operator !=(Quadrangle first, Quadrangle second)

Parameters

first Quadrangle

Giá trị so sánh đầu tiên

second Quadrangle

Giá trị so sánh thứ hai

Returns

bool

đúng Nếu đầu tiên có giá trị khác với thứ hai; nếu không, giả.

 Tiếng Việt