C# Class System.Drawing.Drawing2D.LinearGradientBrush

Summary description for LinearGradientBrush.
Inheritance: Brush
Mostra file Open project: mono/sysdrawing-coregraphics Class Usage Examples

Public Methods

Method Description
Clone ( ) : object
GradientLerp ( nfloat data, nfloat outData ) : void
LinearGradientBrush ( Point point1, Point point2, Color color1, Color color2 ) : AppKit
LinearGradientBrush ( PointF point1, PointF point2, Color color1, Color color2 ) : AppKit
LinearGradientBrush ( java.awt.Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode ) : AppKit
LinearGradientBrush ( java.awt.Rectangle rect, Color color1, Color color2, float angle ) : AppKit
LinearGradientBrush ( java.awt.Rectangle rect, Color color1, Color color2, float angle, bool isAngleScaleable ) : AppKit
LinearGradientBrush ( RectangleF rect, Color color1, Color color2, LinearGradientMode linearGradientMode ) : AppKit
LinearGradientBrush ( RectangleF rect, Color color1, Color color2, float angle ) : AppKit
LinearGradientBrush ( RectangleF rect, Color color1, Color color2, float angle, bool isAngleScaleable ) : AppKit
MultiplyTransform ( Matrix matrix ) : void
MultiplyTransform ( Matrix matrix, MatrixOrder order ) : void
ResetTransform ( ) : void
RotateTransform ( float angle ) : void
RotateTransform ( float angle, MatrixOrder order ) : void
ScaleTransform ( float sx, float sy ) : void
ScaleTransform ( float sx, float sy, MatrixOrder order ) : void
SetBlendTriangularShape ( float focus ) : void
SetBlendTriangularShape ( float focus, float scale ) : void
SetSigmaBellShape ( float focus ) : void
SetSigmaBellShape ( float focus, float scale ) : void
TranslateTransform ( float dx, float dy ) : void
TranslateTransform ( float dx, float dy, MatrixOrder order ) : void

Private Methods

Method Description
CyclicGradientFunction ( SizeF regionSize, PointF &start, PointF &end ) : CGFunction
Setup ( java.awt.Graphics graphics, bool fill ) : void
setColorsUsingBlend ( ) : void
setColorsUsingColorBlend ( ) : void
setupShadingColors ( ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

GradientLerp() public method

public GradientLerp ( nfloat data, nfloat outData ) : void
data nfloat
outData nfloat
return void

LinearGradientBrush() public method

public LinearGradientBrush ( Point point1, Point point2, Color color1, Color color2 ) : AppKit
point1 Point
point2 Point
color1 Color
color2 Color
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( PointF point1, PointF point2, Color color1, Color color2 ) : AppKit
point1 PointF
point2 PointF
color1 Color
color2 Color
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( java.awt.Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode ) : AppKit
rect java.awt.Rectangle
color1 Color
color2 Color
linearGradientMode LinearGradientMode
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( java.awt.Rectangle rect, Color color1, Color color2, float angle ) : AppKit
rect java.awt.Rectangle
color1 Color
color2 Color
angle float
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( java.awt.Rectangle rect, Color color1, Color color2, float angle, bool isAngleScaleable ) : AppKit
rect java.awt.Rectangle
color1 Color
color2 Color
angle float
isAngleScaleable bool
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( RectangleF rect, Color color1, Color color2, LinearGradientMode linearGradientMode ) : AppKit
rect RectangleF
color1 Color
color2 Color
linearGradientMode LinearGradientMode
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( RectangleF rect, Color color1, Color color2, float angle ) : AppKit
rect RectangleF
color1 Color
color2 Color
angle float
return AppKit

LinearGradientBrush() public method

public LinearGradientBrush ( RectangleF rect, Color color1, Color color2, float angle, bool isAngleScaleable ) : AppKit
rect RectangleF
color1 Color
color2 Color
angle float
isAngleScaleable bool
return AppKit

MultiplyTransform() public method

public MultiplyTransform ( Matrix matrix ) : void
matrix Matrix
return void

MultiplyTransform() public method

public MultiplyTransform ( Matrix matrix, MatrixOrder order ) : void
matrix Matrix
order MatrixOrder
return void

ResetTransform() public method

public ResetTransform ( ) : void
return void

RotateTransform() public method

public RotateTransform ( float angle ) : void
angle float
return void

RotateTransform() public method

public RotateTransform ( float angle, MatrixOrder order ) : void
angle float
order MatrixOrder
return void

ScaleTransform() public method

public ScaleTransform ( float sx, float sy ) : void
sx float
sy float
return void

ScaleTransform() public method

public ScaleTransform ( float sx, float sy, MatrixOrder order ) : void
sx float
sy float
order MatrixOrder
return void

SetBlendTriangularShape() public method

public SetBlendTriangularShape ( float focus ) : void
focus float
return void

SetBlendTriangularShape() public method

public SetBlendTriangularShape ( float focus, float scale ) : void
focus float
scale float
return void

SetSigmaBellShape() public method

public SetSigmaBellShape ( float focus ) : void
focus float
return void

SetSigmaBellShape() public method

public SetSigmaBellShape ( float focus, float scale ) : void
focus float
scale float
return void

TranslateTransform() public method

public TranslateTransform ( float dx, float dy ) : void
dx float
dy float
return void

TranslateTransform() public method

public TranslateTransform ( float dx, float dy, MatrixOrder order ) : void
dx float
dy float
order MatrixOrder
return void