IDrawingFactory Interface

IDrawingFactory interface

Represents a factory for creating drawing-related objects.

public interface IDrawingFactory : IDisposable

Methods

NameDescription
CreateBitmap(int, int)Creates a bitmap with the specified width and height.
CreateBitmapFromImageByteArray(byte[])Creates a bitmap from the specified image byte array.
CreateBitmapFromImageStream(Stream)Creates a bitmap from the specified image stream.
CreateBitmapFromPixelByteArray(byte[], int, int)Creates a bitmap from the specified pixel byte array with the specified width and height.
CreateCodec(byte[])Creates a codec for the specified image.
CreateLinearGradientBrush(RectangleF, float, bool, IInterpolationColor[], SpreadMode)Creates a linear gradient brush with the specified parameters.
CreateMatrix()Creates a new identity matrix.
CreateMatrix(IMatrix)Creates a new matrix with the same contents as the specified matrix.
CreateMatrix(float, float, float, float, float, float)Creates a new matrix with the specified elements.
CreateSolidBrush(Color)Creates a solid brush with the specified color.
CreateTextureBrush(byte[], SpreadMode, float, IMatrix)Creates a texture brush with the specified parameters.
CreateTextureBrush(PointF, IMatrix, IInterpolationColor[], RectangleF, float, RectangleF)Creates a texture brush with the specified parameters for an elliptical shape.

See Also