Class LinearGradientColorPaintServer
- Namespace
- SVGImage.SVG.PaintServers
- Assembly
- DotNetProjects.SVGImage.dll
public sealed class LinearGradientColorPaintServer : GradientColorPaintServer
- Inheritance
-
LinearGradientColorPaintServer
- Inherited Members
-
Constructors
public LinearGradientColorPaintServer(PaintServerManager owner, Brush newBrush)
Parameters
owner PaintServerManager
newBrush Brush
LinearGradientColorPaintServer(PaintServerManager, XmlNode)
public LinearGradientColorPaintServer(PaintServerManager owner, XmlNode node)
Parameters
owner PaintServerManager
node XmlNode
Properties
X1
public double X1 { get; }
Property Value
- double
X2
public double X2 { get; }
Property Value
- double
Y1
public double Y1 { get; }
Property Value
- double
Y2
public double Y2 { get; }
Property Value
- double
Methods
GetBrush(double, SVG, SVGRender, Rect)
public override Brush GetBrush(double opacity, SVG svg, SVGRender svgRender, Rect bounds)
Parameters
opacity double
svg SVG
svgRender SVGRender
bounds Rect
Returns
- Brush