Class Shape

Class Shape

ชื่อพื้นที่: Aspose.Imaging การประกอบ: Aspose.Imaging.dll (25.4.0)

รูปแบบ: ชุดที่ต่อเนื่องของจุดเชื่อมต่อโดยใช้กฎเฉพาะ

public abstract class Shape : ObjectWithBounds

Inheritance

object ObjectWithBounds Shape

Derived

PolygonShape , RectangleProjectedShape

อนุญาโตตุลาการ

ObjectWithBounds.GetBounds(Matrix) , ObjectWithBounds.GetBounds(Matrix, Pen) , ObjectWithBounds.Transform(Matrix) , ObjectWithBounds.Equals(object) , ObjectWithBounds.GetHashCode() , ObjectWithBounds.Equals(ObjectWithBounds) , ObjectWithBounds.Bounds , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

Shape()

protected Shape()

Properties

Center

ได้รับศูนย์ของรูปทรง

public abstract PointF Center { get; }

คุณสมบัติมูลค่า

PointF

HasSegments

ได้รับค่าที่แสดงให้เห็นว่ารูปร่างมีส่วน

public abstract bool HasSegments { get; }

คุณสมบัติมูลค่า

bool

Segments

ได้รับรูปร่างส่วน

public abstract ShapeSegment[] Segments { get; }

คุณสมบัติมูลค่า

ShapeSegment [ ]

Methods

Equals(วัตถุ)

ตรวจสอบว่าวัตถุนั้นเท่าเทียมกันหรือไม่

public override bool Equals(object obj)

Parameters

obj object

วัตถุอื่น ๆ

Returns

bool

ผลการเปรียบเทียบเท่าเทียม

Equals(Shape)

ตรวจสอบว่าวัตถุนั้นเท่าเทียมกันหรือไม่

protected bool Equals(Shape other)

Parameters

other Shape

วัตถุอื่น ๆ

Returns

bool

ผลการเปรียบเทียบเท่าเทียม

GetHashCode()

รับรหัส hash ของวัตถุปัจจุบัน

public override int GetHashCode()

Returns

int

รหัส hash

 แบบไทย