IDrawingFactory.CreateTextureBrush
Contents
[
Hide
]CreateTextureBrush(byte[])
Creates a texture brush with the specified parameters.
public ITextureBrush CreateTextureBrush(byte[] imageBytes)
Parameter | Type | Description |
---|---|---|
imageBytes | Byte[] | The byte array containing the image data. |
Return Value
The created ITextureBrush
.
See Also
- interface ITextureBrush
- interface IDrawingFactory
- namespace Aspose.Svg.Drawing
- assembly Aspose.SVG
CreateTextureBrush(byte[], SpreadMode, float, IMatrix)
Creates a texture brush with the specified parameters.
public ITextureBrush CreateTextureBrush(byte[] imageBytes, SpreadMode spreadMode, float opacity,
IMatrix transformationMatrix)
Parameter | Type | Description |
---|---|---|
imageBytes | Byte[] | The byte array containing the image data. |
spreadMode | SpreadMode | The spread mode for the brush. See SpreadMode . |
opacity | Single | The opacity of the brush. |
transformationMatrix | IMatrix | The transformation matrix for the brush. |
Return Value
The created ITextureBrush
.
See Also
- interface ITextureBrush
- enum SpreadMode
- interface IMatrix
- interface IDrawingFactory
- namespace Aspose.Svg.Drawing
- assembly Aspose.SVG
CreateTextureBrush(PointF, IMatrix, IInterpolationColor[], RectangleF, float, RectangleF)
Creates a texture brush with the specified parameters for an elliptical shape.
public ITextureBrush CreateTextureBrush(PointF centerPoint, IMatrix transformation,
IInterpolationColor[] interpolationColors, RectangleF bounds, float opacity,
RectangleF elipseRect)
Parameter | Type | Description |
---|---|---|
centerPoint | PointF | The center point of the ellipse. |
transformation | IMatrix | The transformation matrix for the brush. See IMatrix . |
interpolationColors | IInterpolationColor[] | The interpolation colors for the brush. See IInterpolationColor . |
bounds | RectangleF | The bounds of the brush. |
opacity | Single | The opacity of the brush. |
elipseRect | RectangleF | The rectangle defining the elliptical shape. |
Return Value
The created ITextureBrush
.
See Also
- interface ITextureBrush
- interface IMatrix
- interface IInterpolationColor
- interface IDrawingFactory
- namespace Aspose.Svg.Drawing
- assembly Aspose.SVG