Class CustomLineCap

Class CustomLineCap

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

Encapsulates a custom user-defined line cap

public class CustomLineCap

Inheritance

object CustomLineCap

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

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

Constructors

CustomLineCap(กราฟิกPath, กราฟิกPath)

เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Imaging.CustomLineCap ด้วยเส้นทางที่ระบุและเติม

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)

Parameters

fillPath GraphicsPath

A Aspose.Imaging.GraphicsPath วัตถุที่กําหนดค่าการเติมสําหรับแคปที่กําหนดเอง

strokePath GraphicsPath

A Aspose.Imaging.GraphicsPath object which defines the outline of the custom cap

CustomLineCap(GraphicsPath, GraphicsPath, LineCap)

เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Imaging.CustomLineCap จากรายการ Aspose.Imaging.LineCap ที่มีอยู่ที่ระบุด้วยรายการที่ระบุและเติม

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap)

Parameters

fillPath GraphicsPath

A Aspose.Imaging.GraphicsPath วัตถุที่กําหนดค่าการเติมสําหรับแคปที่กําหนดเอง

strokePath GraphicsPath

A Aspose.Imaging.GraphicsPath object which defines the outline of the custom cap

baseCap LineCap

สายเคเบิ้ลจากที่ที่จะสร้างเคเบิ้ลที่กําหนดเอง

CustomLineCap(GraphicsPath, GraphicsPath, LineCap, เฟอร์รี่)

เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Imaging.CustomLineCap จากรายการ Aspose.Imaging.LineCap ที่มีอยู่ที่ระบุด้วยรายการที่ระบุกรอกและฉีด

public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset)

Parameters

fillPath GraphicsPath

A Aspose.Imaging.GraphicsPath วัตถุที่กําหนดค่าการเติมสําหรับแคปที่กําหนดเอง

strokePath GraphicsPath

A Aspose.Imaging.GraphicsPath object which defines the outline of the custom cap

baseCap LineCap

สายเคเบิ้ลจากที่ที่จะสร้างเคเบิ้ลที่กําหนดเอง

baseInset float

ความห่างระหว่างสายและสาย

Properties

BaseCap

ได้รับหรือตั้งค่ารายชื่อ Aspose.Imaging.LineCap ที่นี้ Aspose.Imaging.CustomLineCap อยู่ในฐานะ

public LineCap BaseCap { get; set; }

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

LineCap

BaseInset

รับหรือตั้งค่าระยะทางระหว่างสายและสาย

public float BaseInset { get; set; }

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

float

FillPath

ได้รับหรือตั้งค่าวัตถุที่กําหนดค่าการเติมสําหรับแคปที่กําหนดเอง

public GraphicsPath FillPath { get; set; }

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

GraphicsPath

StrokeJoin

ได้รับหรือตั้งค่ารายการ Aspose.Imaging.LineJoin ซึ่งกําหนดวิธีการเชื่อมโยงเส้นที่ประกอบด้วยวัตถุ Aspose.Imaging.CustomLineCap

public LineJoin StrokeJoin { get; set; }

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

LineJoin

StrokePath

ได้รับหรือตั้งค่าวัตถุที่กําหนดเส้นผ่าศูนย์กลางของแคปที่กําหนดเอง

public GraphicsPath StrokePath { get; set; }

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

GraphicsPath

WidthScale

ได้รับหรือตั้งค่าปริมาณที่จะสแกนนี้ Aspose.Imaging.CustomLineCap Class วัตถุเกี่ยวกับความกว้างของ System.Drawing.Pen วัตถุ

public float WidthScale { get; set; }

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

float

Methods

Equals(วัตถุ)

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

public override bool Equals(object obj)

Parameters

obj object

วัตถุอื่น ๆ

Returns

bool

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

Equals(CustomLineCap)

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

protected bool Equals(CustomLineCap other)

Parameters

other CustomLineCap

วัตถุอื่น ๆ

Returns

bool

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

GetHashCode()

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

public override int GetHashCode()

Returns

int

รหัส hash

GetStrokeCaps(ออก LineCap, ออก LineCap)

ได้รับแคปที่ใช้ในการเริ่มต้นและจบเส้นที่ประกอบด้วยแคปที่กําหนดเองนี้

public void GetStrokeCaps(out LineCap startCap, out LineCap endCap)

Parameters

startCap LineCap

รายชื่อ Aspose.Imaging.LineCap ใช้ในตอนแรกของเส้นภายในแคปนี้

endCap LineCap

รายชื่อ Aspose.Imaging.LineCap ใช้ในตอนท้ายของเส้นภายในแคปนี้

SetStrokeCaps(LineCap, LineCap)

Set the caps used to start and end lines that make up this custom cap

public void SetStrokeCaps(LineCap startCap, LineCap endCap)

Parameters

startCap LineCap

รายชื่อ Aspose.Imaging.LineCap ใช้ในตอนแรกของเส้นภายในแคปนี้

endCap LineCap

รายชื่อ Aspose.Imaging.LineCap ใช้ในตอนท้ายของเส้นภายในแคปนี้

 แบบไทย