Skip to content

Commit 71e016b

Browse files
Merge branch 'main' into production
2 parents a212066 + 4439494 commit 71e016b

File tree

488 files changed

+1668
-2550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

488 files changed

+1668
-2550
lines changed

english/net/aspose.html.drawing/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ The **Aspose.Html.Drawing** namespace contains objects and interfaces to specify
3232
| --- | --- |
3333
| [IBrush](./ibrush/) | Declares method for getting of brush type. |
3434
| [IColorComponents](./icolorcomponents/) | Declares method and properties for processing color components. |
35+
| [IDrawingFactory](./idrawingfactory/) | Represents a factory for creating drawing-related objects. |
3536
| [IGradientBrush](./igradientbrush/) | Declare methods for getting common properties of gradient brushes. |
3637
| [IInterpolationColor](./iinterpolationcolor/) | Desclares methods for getting interpolation color. |
3738
| [ILinearGradientBrush](./ilineargradientbrush/) | Defines brush interface with a linear gradient. |
39+
| [IMatrix](./imatrix/) | Represents a matrix used for transformations. |
3840
| [ISolidBrush](./isolidbrush/) | Defines brush interface of a single color |
3941
| [ITextureBrush](./itexturebrush/) | Defines brush interface that uses an image to fill the interior of a shape. |
4042
| [ITransformableBrush](./itransformablebrush/) | Desclares methods for getting transformation matrix and wrap mode. |
@@ -45,3 +47,6 @@ The **Aspose.Html.Drawing** namespace contains objects and interfaces to specify
4547
| --- | --- |
4648
| [BrushType](./brushtype/) | Specifies the type of brush. |
4749
| [ColorModel](./colormodel/) | This enumeration is used to select the color model for working with color components. |
50+
| [SpreadMode](./spreadmode/) | Specifies how a texture or gradient is tiled when it is smaller than the area being filled. |
51+
| [WebImageFormat](./webimageformat/) | Specifies the supported image formats. |
52+
| [WebMatrixOrder](./webmatrixorder/) | Specifies the order in which matrix transformations are applied. |

english/net/aspose.html.drawing/ibrush/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ url: /net/aspose.html.drawing/ibrush/
1111
Declares method for getting of brush type.
1212

1313
```csharp
14-
public interface IBrush
14+
public interface IBrush : IDisposable
1515
```
1616

1717
## Properties
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: IDrawingFactory Interface
3+
second_title: Aspose.HTML for .NET API Reference
4+
description: Aspose.Html.Drawing.IDrawingFactory interface. Represents a factory for creating drawing-related objects
5+
type: docs
6+
weight: 2870
7+
url: /net/aspose.html.drawing/idrawingfactory/
8+
---
9+
## IDrawingFactory interface
10+
11+
Represents a factory for creating drawing-related objects.
12+
13+
```csharp
14+
public interface IDrawingFactory : IDisposable
15+
```
16+
17+
## Methods
18+
19+
| Name | Description |
20+
| --- | --- |
21+
| [CreateInterpolationColor](../../aspose.html.drawing/idrawingfactory/createinterpolationcolor/)(Colorfloat) | Creates an interpolation color with the specified color and position. |
22+
| [CreateLinearGradientBrush](../../aspose.html.drawing/idrawingfactory/createlineargradientbrush/)(RectangleFIInterpolationColor[]) | Creates a linear gradient brush with the specified parameters. |
23+
| [CreateMatrix](../../aspose.html.drawing/idrawingfactory/creatematrix/#creatematrix)() | Creates a new identity matrix. |
24+
| [CreateMatrix](../../aspose.html.drawing/idrawingfactory/creatematrix/#creatematrix_1)(IMatrix) | Creates a new matrix with the same contents as the specified matrix. |
25+
| [CreateMatrix](../../aspose.html.drawing/idrawingfactory/creatematrix/#creatematrix_2)(floatfloatfloatfloatfloatfloat) | Creates a new matrix with the specified elements. |
26+
| [CreateSolidBrush](../../aspose.html.drawing/idrawingfactory/createsolidbrush/)(Color) | Creates a solid brush with the specified color. |
27+
| [CreateTextureBrush](../../aspose.html.drawing/idrawingfactory/createtexturebrush/)(byte[]) | Creates a texture brush with the specified parameters. |
28+
29+
### See Also
30+
31+
* namespace [Aspose.Html.Drawing](../../aspose.html.drawing/)
32+
* assembly [Aspose.HTML](../../)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: IDrawingFactory.CreateInterpolationColor
3+
second_title: Aspose.HTML for .NET API Reference
4+
description: IDrawingFactory method. Creates an interpolation color with the specified color and position
5+
type: docs
6+
weight: 10
7+
url: /net/aspose.html.drawing/idrawingfactory/createinterpolationcolor/
8+
---
9+
## IDrawingFactory.CreateInterpolationColor method
10+
11+
Creates an interpolation color with the specified color and position.
12+
13+
```csharp
14+
public IInterpolationColor CreateInterpolationColor(Color color, float position)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| color | Color | Represents the color that will be used at the corresponding position of the gradient. |
20+
| position | Single | The position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used. |
21+
22+
### Return Value
23+
24+
The created [`IInterpolationColor`](../../iinterpolationcolor/).
25+
26+
### See Also
27+
28+
* interface [IInterpolationColor](../../iinterpolationcolor/)
29+
* interface [IDrawingFactory](../)
30+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
31+
* assembly [Aspose.HTML](../../../)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: IDrawingFactory.CreateLinearGradientBrush
3+
second_title: Aspose.HTML for .NET API Reference
4+
description: IDrawingFactory method. Creates a linear gradient brush with the specified parameters
5+
type: docs
6+
weight: 20
7+
url: /net/aspose.html.drawing/idrawingfactory/createlineargradientbrush/
8+
---
9+
## IDrawingFactory.CreateLinearGradientBrush method
10+
11+
Creates a linear gradient brush with the specified parameters.
12+
13+
```csharp
14+
public ILinearGradientBrush CreateLinearGradientBrush(RectangleF rect, IInterpolationColor[] colors)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| rect | RectangleF | The rectangle defining the gradient bounds. |
20+
| colors | IInterpolationColor[] | The interpolation colors for the gradient. See [`IInterpolationColor`](../../iinterpolationcolor/). |
21+
22+
### Return Value
23+
24+
The created [`ILinearGradientBrush`](../../ilineargradientbrush/).
25+
26+
### See Also
27+
28+
* interface [ILinearGradientBrush](../../ilineargradientbrush/)
29+
* interface [IInterpolationColor](../../iinterpolationcolor/)
30+
* interface [IDrawingFactory](../)
31+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
32+
* assembly [Aspose.HTML](../../../)
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: IDrawingFactory.CreateMatrix
3+
second_title: Aspose.HTML for .NET API Reference
4+
description: IDrawingFactory method. Creates a new matrix with the same contents as the specified matrix
5+
type: docs
6+
weight: 30
7+
url: /net/aspose.html.drawing/idrawingfactory/creatematrix/
8+
---
9+
## CreateMatrix(IMatrix) {#creatematrix_1}
10+
11+
Creates a new matrix with the same contents as the specified matrix.
12+
13+
```csharp
14+
public IMatrix CreateMatrix(IMatrix matrix)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| matrix | IMatrix | The matrix to copy. |
20+
21+
### Return Value
22+
23+
The created [`IMatrix`](../../imatrix/).
24+
25+
### See Also
26+
27+
* interface [IMatrix](../../imatrix/)
28+
* interface [IDrawingFactory](../)
29+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
30+
* assembly [Aspose.HTML](../../../)
31+
32+
---
33+
34+
## CreateMatrix(float, float, float, float, float, float) {#creatematrix_2}
35+
36+
Creates a new matrix with the specified elements.
37+
38+
```csharp
39+
public IMatrix CreateMatrix(float m11, float m12, float m21, float m22, float m31, float m32)
40+
```
41+
42+
| Parameter | Type | Description |
43+
| --- | --- | --- |
44+
| m11 | Single | The value in the first row and first column of the matrix. |
45+
| m12 | Single | The value in the first row and second column of the matrix. |
46+
| m21 | Single | The value in the second row and first column of the matrix. |
47+
| m22 | Single | The value in the second row and second column of the matrix. |
48+
| m31 | Single | The value in the third row and first column of the matrix. |
49+
| m32 | Single | The value in the third row and second column of the matrix. |
50+
51+
### Return Value
52+
53+
The created [`IMatrix`](../../imatrix/).
54+
55+
### See Also
56+
57+
* interface [IMatrix](../../imatrix/)
58+
* interface [IDrawingFactory](../)
59+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
60+
* assembly [Aspose.HTML](../../../)
61+
62+
---
63+
64+
## CreateMatrix() {#creatematrix}
65+
66+
Creates a new identity matrix.
67+
68+
```csharp
69+
public IMatrix CreateMatrix()
70+
```
71+
72+
### Return Value
73+
74+
The created [`IMatrix`](../../imatrix/).
75+
76+
### See Also
77+
78+
* interface [IMatrix](../../imatrix/)
79+
* interface [IDrawingFactory](../)
80+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
81+
* assembly [Aspose.HTML](../../../)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: IDrawingFactory.CreateSolidBrush
3+
second_title: Aspose.HTML for .NET API Reference
4+
description: IDrawingFactory method. Creates a solid brush with the specified color
5+
type: docs
6+
weight: 40
7+
url: /net/aspose.html.drawing/idrawingfactory/createsolidbrush/
8+
---
9+
## IDrawingFactory.CreateSolidBrush method
10+
11+
Creates a solid brush with the specified color.
12+
13+
```csharp
14+
public ISolidBrush CreateSolidBrush(Color color)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| color | Color | The color of the solid brush. |
20+
21+
### Return Value
22+
23+
The created [`ISolidBrush`](../../isolidbrush/).
24+
25+
### See Also
26+
27+
* interface [ISolidBrush](../../isolidbrush/)
28+
* interface [IDrawingFactory](../)
29+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
30+
* assembly [Aspose.HTML](../../../)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: IDrawingFactory.CreateTextureBrush
3+
second_title: Aspose.HTML for .NET API Reference
4+
description: IDrawingFactory method. Creates a texture brush with the specified parameters
5+
type: docs
6+
weight: 50
7+
url: /net/aspose.html.drawing/idrawingfactory/createtexturebrush/
8+
---
9+
## IDrawingFactory.CreateTextureBrush method
10+
11+
Creates a texture brush with the specified parameters.
12+
13+
```csharp
14+
public ITextureBrush CreateTextureBrush(byte[] imageBytes)
15+
```
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| imageBytes | Byte[] | The byte array containing the image data. |
20+
21+
### Return Value
22+
23+
The created [`ITextureBrush`](../../itexturebrush/).
24+
25+
### See Also
26+
27+
* interface [ITextureBrush](../../itexturebrush/)
28+
* interface [IDrawingFactory](../)
29+
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
30+
* assembly [Aspose.HTML](../../../)

english/net/aspose.html.drawing/igradientbrush/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: IGradientBrush Interface
33
second_title: Aspose.HTML for .NET API Reference
44
description: Aspose.Html.Drawing.IGradientBrush interface. Declare methods for getting common properties of gradient brushes
55
type: docs
6-
weight: 2870
6+
weight: 2880
77
url: /net/aspose.html.drawing/igradientbrush/
88
---
99
## IGradientBrush interface
@@ -18,9 +18,9 @@ public interface IGradientBrush : ITransformableBrush
1818

1919
| Name | Description |
2020
| --- | --- |
21-
| [BlendFactors](../../aspose.html.drawing/igradientbrush/blendfactors/) { get; } | Get the blend factors that define a custom falloff for the gradient. |
22-
| [BlendPositions](../../aspose.html.drawing/igradientbrush/blendpositions/) { get; } | Get the blend positions that define a custom falloff for the gradient. |
23-
| [InterpolationColors](../../aspose.html.drawing/igradientbrush/interpolationcolors/) { get; } | Get the interpolation colors that defines a multicolor linear gradient. |
21+
| [BlendFactors](../../aspose.html.drawing/igradientbrush/blendfactors/) { get; set; } | Get the blend factors that define a custom falloff for the gradient. |
22+
| [BlendPositions](../../aspose.html.drawing/igradientbrush/blendpositions/) { getset} | Get the blend positions that define a custom falloff for the gradient. |
23+
| [InterpolationColors](../../aspose.html.drawing/igradientbrush/interpolationcolors/) { getset} | Get the interpolation colors that defines a multicolor linear gradient. |
2424

2525
### See Also
2626

english/net/aspose.html.drawing/igradientbrush/blendfactors/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ url: /net/aspose.html.drawing/igradientbrush/blendfactors/
1111
Get the blend factors that define a custom falloff for the gradient.
1212

1313
```csharp
14-
public float[] BlendFactors { get; }
14+
public float[] BlendFactors { get; set; }
1515
```
1616

1717
### Return Value

0 commit comments

Comments
 (0)