Class RectangleProjectedShape

Class RectangleProjectedShape

Nama dari : Aspose.Imaging.Shapes Pengumpulan: Aspose.Imaging.dll (25.4.0)

Ini mewakili bentuk yang diproyeksikan di atas rektangle yang beralih ke orientasi tertentu.Ditentukan oleh empat titik yang dapat diputar di ruang yang memelihara panjang tepi yang sama dan 90 derajat antara tepi yang berdekatan.

[JsonObject(MemberSerialization.OptIn)]
public abstract class RectangleProjectedShape : Shape

Inheritance

object ObjectWithBounds Shape RectangleProjectedShape

Derived

RectangleShape , TextShape

anggota yang diwarisi

Shape.Equals(object) , Shape.GetHashCode() , Shape.Equals(Shape) , Shape.Center , Shape.Segments , Shape.HasSegments , 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

RectangleProjectedShape()

Initifikasi contoh baru dari kelas Aspose.Imaging.Shapes.RectangleProjectedShape.

[JsonConstructor]
public RectangleProjectedShape()

RectangleProjectedShape(RectangleF)

Initifikasi contoh baru dari kelas Aspose.Imaging.Shapes.RectangleProjectedShape.

public RectangleProjectedShape(RectangleF rectangle)

Parameters

rectangle RectangleF

dari rektangle untuk memulai dari.

Properties

Bounds

Mendapatkan batas objek.

[JsonIgnore]
public override RectangleF Bounds { get; }

Nilai Properti

RectangleF

Center

Mendapatkan pusat bentuk.

[JsonIgnore]
public override PointF Center { get; }

Nilai Properti

PointF

HasSegments

Dapatkan nilai yang menunjukkan apakah bentuk memiliki segmen.

[JsonIgnore]
public override bool HasSegments { get; }

Nilai Properti

bool

LeftBottom

Mendapatkan titik rektangle kiri bawah.

public PointF LeftBottom { get; }

Nilai Properti

PointF

LeftTop

Mendapatkan titik rektangle kiri atas.

public PointF LeftTop { get; }

Nilai Properti

PointF

RectangleHeight

Dapatkan ketinggian rektangle.

[JsonIgnore]
public double RectangleHeight { get; }

Nilai Properti

double

RectangleWidth

Dapatkan lebar rektangle.

[JsonIgnore]
public double RectangleWidth { get; }

Nilai Properti

double

RightBottom

Mendapatkan titik rektangle kanan bawah.

public PointF RightBottom { get; }

Nilai Properti

PointF

RightTop

Mendapatkan titik rektangle kanan atas.

public PointF RightTop { get; }

Nilai Properti

PointF

Methods

Equals(objek)

Menentukan apakah System.Object yang ditentukan sama dengan instans ini.

public override bool Equals(object obj)

Parameters

obj object

Sistem.Object untuk membandingkan dengan instansi ini.

Returns

bool

‘kebenaran’ jika sistem.objek yang ditentukan sama dengan contoh ini; jika tidak, ‘kebenaran’.

Equals(RectangleProjectedShape)

Periksa apakah objek yang sama.

protected bool Equals(RectangleProjectedShape other)

Parameters

other RectangleProjectedShape

objek yang lain.

Returns

bool

Hasil perbandingan kesetaraan.

GetBounds(Matrix)

Mendapatkan batas objek.

public override RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

Matriks yang harus diterapkan sebelum batas akan dihitung.

Returns

RectangleF

batas-batas objek yang diperkirakan.

GetBounds(Matriks dan Pen)

Mendapatkan batas objek.

public override RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

Matriks yang harus diterapkan sebelum batas akan dihitung.

pen Pen

Pen untuk digunakan untuk objek. ini dapat mempengaruhi ukuran batas objek.

Returns

RectangleF

batas-batas objek yang diperkirakan.

GetHashCode()

Mengembalikan kode hash untuk kasus ini.

public override int GetHashCode()

Returns

int

Sebuah kode hash untuk contoh ini, cocok untuk digunakan dalam algoritma hashing dan struktur data seperti tabel hash.

Transform(Matrix)

Mengaplikasikan transformasi yang ditentukan pada bentuk.

public override void Transform(Matrix transform)

Parameters

transform Matrix

transformasi untuk diterapkan.

 Indonesia