ColorExtensions
Inheritance: java.lang.Object
public final class ColorExtensions
أساليب امتداد Color.
الطرق
| طريقة | الوصف |
|---|---|
| toGdiColor(Color color) | يقوم بتحويل com.aspose.imaging.Color إلى System.Drawing.Color. |
| toGdiColors(Color[] colors) | يقوم بتحويل مصفوفة com.aspose.imaging.Color إلى مصفوفة System.Drawing.Color. |
toGdiColor(Color color)
public static Color toGdiColor(Color color)
يقوم بتحويل com.aspose.imaging.Color إلى System.Drawing.Color.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| color | Color | الcom.aspose.imaging.Color للتحويل. |
Returns:
Color - The converted System.Drawing.Color.
toGdiColors(Color[] colors)
public static System.Drawing.Color[] toGdiColors(Color[] colors)
يقوم بتحويل مصفوفة com.aspose.imaging.Color إلى مصفوفة System.Drawing.Color.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| colors | Color[] | الcom.aspose.imaging.Color المصفوفة للتحويل. |
Returns:
com.aspose.ms.System.Drawing.Color[] - مصفوفة System.Drawing.Color المحوّلة.