**Inheritance:**
java.lang.Object
```
public class CustomLineCap
```

يحتوي على غطاء خط مخصص يحدده المستخدم.
## المنشئات

| المنشئ | الوصف |
| --- | --- |
| [CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)](#CustomLineCap-com.aspose.imaging.GraphicsPath-com.aspose.imaging.GraphicsPath-) | ينشئ مثيلة جديدة من الفئة `CustomLineCap` بالمخطط والملء المحددين. |
| [CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, int baseCap)](#CustomLineCap-com.aspose.imaging.GraphicsPath-com.aspose.imaging.GraphicsPath-int-) | ينشئ مثيلة جديدة من الفئة `CustomLineCap` باستخدام تعداد `LineCap` الموجود المحدد مع المخطط والملء المحددين. |
| [CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, int baseCap, float baseInset)](#CustomLineCap-com.aspose.imaging.GraphicsPath-com.aspose.imaging.GraphicsPath-int-float-) | ينشئ مثيلة جديدة من الفئة `CustomLineCap` باستخدام تعداد `LineCap` الموجود المحدد مع المخطط والملء والداخلية المحددة. |
## الطرق

| طريقة | الوصف |
| --- | --- |
| [getFillPath()](#getFillPath--) | يحصل على الكائن الذي يحدد الملء للغطاء المخصص. |
| [setFillPath(GraphicsPath value)](#setFillPath-com.aspose.imaging.GraphicsPath-) | يضبط الكائن الذي يحدد الملء للغطاء المخصص. |
| [getStrokePath()](#getStrokePath--) | يحصل على الكائن الذي يحدد المخطط للغطاء المخصص. |
| [setStrokePath(GraphicsPath value)](#setStrokePath-com.aspose.imaging.GraphicsPath-) | يضبط الكائن الذي يحدد المخطط للغطاء المخصص. |
| [getStrokeJoin()](#getStrokeJoin--) | يحصل على تعداد `LineJoin` الذي يحدد كيفية ربط الخطوط التي تشكل كائن `CustomLineCap` هذا. |
| [setStrokeJoin(int value)](#setStrokeJoin-int-) | يضبط تعداد `LineJoin` الذي يحدد كيفية ربط الخطوط التي تشكل كائن `CustomLineCap` هذا. |
| [getBaseCap()](#getBaseCap--) | يحصل على تعداد `LineCap` الذي يعتمد عليه هذا `CustomLineCap`. |
| [setBaseCap(int value)](#setBaseCap-int-) | يضبط تعداد `LineCap` الذي يعتمد عليه هذا `CustomLineCap`. |
| [getBaseInset()](#getBaseInset--) | يحصل على المسافة بين الغطاء والخط. |
| [setBaseInset(float value)](#setBaseInset-float-) | يضبط المسافة بين الغطاء والخط. |
| [getWidthScale()](#getWidthScale--) | يحصل على مقدار التحجيم لهذا كائن الفئة `CustomLineCap` بالنسبة إلى عرض كائن `System.Drawing.Pen`. |
| [setWidthScale(float value)](#setWidthScale-float-) | يضبط مقدار التحجيم لهذا كائن الفئة `CustomLineCap` بالنسبة إلى عرض كائن `System.Drawing.Pen`. |
| [setStrokeCaps(int startCap, int endCap)](#setStrokeCaps-int-int-) | يضبط الأغطية المستخدمة لبدء وإنهاء الخطوط التي تشكل هذا الغطاء المخصص. |
| [getStrokeCaps(int[] startCap, int[] endCap)](#getStrokeCaps-int---int---) | يحصل على الأغطية المستخدمة لبدء وإنهاء الخطوط التي تشكل هذا الغطاء المخصص. |
| [equals(Object o)](#equals-java.lang.Object-) | تحقق مما إذا كانت الكائنات متساوية. |
| [hashCode()](#hashCode--) | احصل على رمز التجزئة للكائن الحالي. |
### CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath) {#CustomLineCap-com.aspose.imaging.GraphicsPath-com.aspose.imaging.GraphicsPath-}
```
public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath)
```


ينشئ مثيلة جديدة من الفئة `CustomLineCap` بالمخطط والملء المحددين.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| fillPath | [GraphicsPath](../../com.aspose.imaging/graphicspath) | كائن `GraphicsPath` يحدد الملء للغطاء المخصص. |
| strokePath | [GraphicsPath](../../com.aspose.imaging/graphicspath) | كائن `GraphicsPath` يحدد المخطط للغطاء المخصص. |

### CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, int baseCap) {#CustomLineCap-com.aspose.imaging.GraphicsPath-com.aspose.imaging.GraphicsPath-int-}
```
public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, int baseCap)
```


ينشئ مثيلة جديدة من الفئة `CustomLineCap` باستخدام تعداد `LineCap` الموجود المحدد مع المخطط والملء المحددين.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| fillPath | [GraphicsPath](../../com.aspose.imaging/graphicspath) | كائن `GraphicsPath` يحدد الملء للغطاء المخصص. |
| strokePath | [GraphicsPath](../../com.aspose.imaging/graphicspath) | كائن `GraphicsPath` يحدد المخطط للغطاء المخصص. |
| baseCap | int | غطاء الخط الذي يُنشأ منه الغطاء المخصص. |

### CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, int baseCap, float baseInset) {#CustomLineCap-com.aspose.imaging.GraphicsPath-com.aspose.imaging.GraphicsPath-int-float-}
```
public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, int baseCap, float baseInset)
```


ينشئ مثيلة جديدة من الفئة `CustomLineCap` باستخدام تعداد `LineCap` الموجود المحدد مع المخطط والملء والداخلية المحددة.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| fillPath | [GraphicsPath](../../com.aspose.imaging/graphicspath) | كائن `GraphicsPath` يحدد الملء للغطاء المخصص. |
| strokePath | [GraphicsPath](../../com.aspose.imaging/graphicspath) | كائن `GraphicsPath` يحدد المخطط للغطاء المخصص. |
| baseCap | int | غطاء الخط الذي يُنشأ منه الغطاء المخصص. |
| baseInset | float | المسافة بين الغطاء والخط. |

### getFillPath() {#getFillPath--}
```
public GraphicsPath getFillPath()
```


يحصل على الكائن الذي يحدد الملء للغطاء المخصص.

**Returns:**
[GraphicsPath](../../com.aspose.imaging/graphicspath) - The object that defines the fill for the custom cap.
### setFillPath(GraphicsPath value) {#setFillPath-com.aspose.imaging.GraphicsPath-}
```
public void setFillPath(GraphicsPath value)
```


يضبط الكائن الذي يحدد الملء للغطاء المخصص.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| value | [GraphicsPath](../../com.aspose.imaging/graphicspath) | الكائن الذي يحدد التعبئة للغطاء المخصص. |

### getStrokePath() {#getStrokePath--}
```
public GraphicsPath getStrokePath()
```


يحصل على الكائن الذي يحدد المخطط للغطاء المخصص.

**Returns:**
[GraphicsPath](../../com.aspose.imaging/graphicspath) - The object that defines the outline of the custom cap.
### setStrokePath(GraphicsPath value) {#setStrokePath-com.aspose.imaging.GraphicsPath-}
```
public void setStrokePath(GraphicsPath value)
```


يضبط الكائن الذي يحدد المخطط للغطاء المخصص.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| value | [GraphicsPath](../../com.aspose.imaging/graphicspath) | الكائن الذي يحدد المخطط للغطاء المخصص. |

### getStrokeJoin() {#getStrokeJoin--}
```
public int getStrokeJoin()
```


يحصل على تعداد `LineJoin` الذي يحدد كيفية ربط الخطوط التي تشكل كائن `CustomLineCap` هذا.

**Returns:**
int - تعداد `LineJoin` الذي يستخدمه كائن `CustomLineCap` لربط الخطوط.
### setStrokeJoin(int value) {#setStrokeJoin-int-}
```
public void setStrokeJoin(int value)
```


يضبط تعداد `LineJoin` الذي يحدد كيفية ربط الخطوط التي تشكل كائن `CustomLineCap` هذا.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| value | int | تعداد `LineJoin` الذي يستخدمه كائن `CustomLineCap` لربط الخطوط. |

### getBaseCap() {#getBaseCap--}
```
public int getBaseCap()
```


يحصل على تعداد `LineCap` الذي يعتمد عليه هذا `CustomLineCap`.

**Returns:**
int - تعداد `LineCap` الذي يعتمد عليه هذا `CustomLineCap`.
### setBaseCap(int value) {#setBaseCap-int-}
```
public void setBaseCap(int value)
```


يضبط تعداد `LineCap` الذي يعتمد عليه هذا `CustomLineCap`.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| value | int | تعداد `LineCap` الذي يعتمد عليه هذا `CustomLineCap`. |

### getBaseInset() {#getBaseInset--}
```
public float getBaseInset()
```


يحصل على المسافة بين الغطاء والخط.

**Returns:**
float - المسافة بين بداية الغطاء ونهاية الخط.
### setBaseInset(float value) {#setBaseInset-float-}
```
public void setBaseInset(float value)
```


يضبط المسافة بين الغطاء والخط.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| value | float | المسافة بين بداية الغطاء ونهاية الخط. |

### getWidthScale() {#getWidthScale--}
```
public float getWidthScale()
```


يحصل على مقدار التحجيم لهذا كائن الفئة `CustomLineCap` بالنسبة إلى عرض كائن `System.Drawing.Pen`.

**Returns:**
float - مقدار التحجيم للغطاء.
### setWidthScale(float value) {#setWidthScale-float-}
```
public void setWidthScale(float value)
```


يضبط مقدار التحجيم لهذا كائن الفئة `CustomLineCap` بالنسبة إلى عرض كائن `System.Drawing.Pen`.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| value | float | مقدار التحجيم للغطاء. |

### setStrokeCaps(int startCap, int endCap) {#setStrokeCaps-int-int-}
```
public void setStrokeCaps(int startCap, int endCap)
```


يضبط الأغطية المستخدمة لبدء وإنهاء الخطوط التي تشكل هذا الغطاء المخصص.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| startCap | int | تعداد `LineCap` المستخدم في بداية الخط داخل هذا الغطاء. |
| endCap | int | تعداد `LineCap` المستخدم في نهاية الخط داخل هذا الغطاء. |

### getStrokeCaps(int[] startCap, int[] endCap) {#getStrokeCaps-int---int---}
```
public void getStrokeCaps(int[] startCap, int[] endCap)
```


يحصل على الأغطية المستخدمة لبدء وإنهاء الخطوط التي تشكل هذا الغطاء المخصص.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| startCap | int[] | تعداد `LineCap` المستخدم في بداية الخط داخل هذا الغطاء. |
| endCap | int[] | تعداد `LineCap` المستخدم في نهاية الخط داخل هذا الغطاء. |

### equals(Object o) {#equals-java.lang.Object-}
```
public boolean equals(Object o)
```


تحقق مما إذا كانت الكائنات متساوية.

**Parameters:**
| معامل | نوع | الوصف |
| --- | --- | --- |
| o | java.lang.Object | الكائن الآخر. |

**Returns:**
boolean - نتيجة مقارنة المساواة.
### hashCode() {#hashCode--}
```
public int hashCode()
```


احصل على رمز التجزئة للكائن الحالي.

**Returns:**
int - رمز التجزئة.
