Interface IDrawingFactory

Interface IDrawingFactory

Der Name: Aspose.Html.Drawing Sammlung: Aspose.HTML.dll (25.4.0)

Es repräsentiert eine Fabrik für die Erstellung von Zeichnung-verwandten Objekten.

[ComVisible(true)]
public interface IDrawingFactory : IDisposable

Implements

IDisposable

Methods

CreateInterpolationColor(Farbe und Float)

Erstellt eine Interpolationsfarbe mit der angegebenen Farbe und Position.

IInterpolationColor CreateInterpolationColor(Color color, float position)

Parameters

color Color

Es repräsentiert die Farbe, die in der entsprechenden Position des Gradients verwendet wird.

position float

Die Position, die als Prozentsatz von 0 bis 1 dargestellt wird, bei der die entsprechende Gradientfarbe verwendet wird.

Returns

IInterpolationColor

Das erschaffen Aspose.Html.Drawing.IInterpolationColor.

CreateLinearGradientBrush(RectangleF, IInterpolationColor[])

Erstellt eine lineare Gradient-Brücke mit den angegebenen Parameter.

ILinearGradientBrush CreateLinearGradientBrush(RectangleF rect, IInterpolationColor[] colors)

Parameters

rect RectangleF

Die rechte Ecke definiert die Gradientgrenzen.

colors IInterpolationColor [][]

Die Interpolationsfarben für den Gradient. siehe Aspose.Html.Drawing.IInterpolationColor.

Returns

ILinearGradientBrush

Die erschaffenen Aspose.Html.Drawing.ILinearGradientBrush.

CreateMatrix(Imatrix)

Erstellt eine neue Matrix mit den gleichen Inhalten wie die angegebenen Matrix.

IMatrix CreateMatrix(IMatrix matrix)

Parameters

matrix IMatrix

Die Matrix zu kopieren.

Returns

IMatrix

Die erschaffenen Aspose.Html.Drawing.IMatrix.

CreateMatrix(Flotte, Flotte, Flotte, Flotte, Flotte)

Erstellt eine neue Matrix mit den angegebenen Elementen.

IMatrix CreateMatrix(float m11, float m12, float m21, float m22, float m31, float m32)

Parameters

m11 float

Die Werte in der ersten Reihe und der ersten Spalte der Matrix.

m12 float

Die Werte in der ersten und zweiten Spalte der Matrix.

m21 float

Die Werte in der zweiten Reihe und der ersten Spalte der Matrix.

m22 float

Die Werte in der zweiten und zweiten Spalte der Matrix.

m31 float

Der Wert in der dritten Reihe und der ersten Spalte der Matrix.

m32 float

Die Werte in der dritten und zweiten Spalte der Matrix.

Returns

IMatrix

Die erschaffenen Aspose.Html.Drawing.IMatrix.

CreateMatrix()

Es entsteht eine neue Identitätsmatrix.

IMatrix CreateMatrix()

Returns

IMatrix

Die erschaffenen Aspose.Html.Drawing.IMatrix.

CreateSolidBrush(Color)

Erstellt einen soliden Brush mit der angegebenen Farbe.

ISolidBrush CreateSolidBrush(Color color)

Parameters

color Color

Die Farbe des soliden Brushes.

Returns

ISolidBrush

Die erschaffenen Aspose.Html.Drawing.ISolidBrush.

CreateTextureBrush(byte[])

Erstellt eine Textur-Brücke mit den angegebenen Parameter.

ITextureBrush CreateTextureBrush(byte[] imageBytes)

Parameters

imageBytes byte [][]

Die Byte Array enthält die Bilddaten.

Returns

ITextureBrush

Die erstellt Aspose.Html.Drawing.ITextureBrush.

 Deutsch