Table of Contents

Class XLinearGradientBrush

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Defines a Brush with a linear gradient.

public sealed class XLinearGradientBrush : XGradientBrush
Inheritance
object
XLinearGradientBrush
Inherited Members

Constructors

XLinearGradientBrush(XPoint, XPoint, XColor, XColor)

Initializes a new instance of the XLinearGradientBrush class.

XLinearGradientBrush(XRect, XColor, XColor, XLinearGradientMode)

Initializes a new instance of the XLinearGradientBrush class.

Properties

Transform

Gets or sets an XMatrix that defines a local geometric transform for this LinearGradientBrush.

Methods

MultiplyTransform(XMatrix)

Multiply the brush transformation matrix with the specified matrix.

MultiplyTransform(XMatrix, XMatrixOrder)

Multiply the brush transformation matrix with the specified matrix.

ResetTransform()

Resets the brush transformation matrix with identity matrix.

RotateTransform(double)

Rotates the brush with the specified angle.

RotateTransform(double, XMatrixOrder)

Rotates the brush with the specified angle.

ScaleTransform(double, double)

Scales the brush with the specified scalars.

ScaleTransform(double, double, XMatrixOrder)

Scales the brush with the specified scalars.

TranslateTransform(double, double)

Translates the brush with the specified offset.

TranslateTransform(double, double, XMatrixOrder)

Translates the brush with the specified offset.