Class ShapeSegment

Class ShapeSegment

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

Một phân đoạn là một dòng hoặc curve kết nối hai điểm.

public abstract class ShapeSegment

Inheritance

object ShapeSegment

Derived

LineSegment

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

ShapeSegment()

protected ShapeSegment()

Properties

EndPoint

Nhận được điểm kết thúc

public abstract PointF EndPoint { get; }

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

PointF

StartPoint

nhận được điểm khởi đầu.

public abstract PointF StartPoint { get; }

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

PointF

Methods

Equals(đối tượng)

Kiểm tra xem các đối tượng có bình đẳng hay không.

public override bool Equals(object obj)

Parameters

obj object

đối tượng khác.

Returns

bool

Kết quả so sánh bình đẳng

Equals(ShapeSegment)

Kiểm tra xem các đối tượng có bình đẳng hay không.

protected bool Equals(ShapeSegment other)

Parameters

other ShapeSegment

đối tượng khác.

Returns

bool

Kết quả so sánh bình đẳng

GetHashCode()

Nhận mã hash của đối tượng hiện tại.

public override int GetHashCode()

Returns

int

Mã hash

 Tiếng Việt