C# Class SVGLinearGradientBrush, UnitySVG

Show file Open project: MrJoy/UnitySVG Class Usage Examples

Public Methods

Method Description
GetColor ( float x, float y ) : Color
SVGLinearGradientBrush ( SVGLinearGradientElement, linearGradElement ) : System
SVGLinearGradientBrush ( SVGLinearGradientElement, linearGradElement, SVGGraphicsPath, graphicsPath ) : System

Private Methods

Method Description
GetStopList ( ) : void
Initialize ( ) : void
Percent ( float x, float y ) : float
PreColorProcess ( int index ) : void
PreLocationProcess ( ) : void
SetGradientVector ( SVGGraphicsPath, graphicsPath ) : void

Method Details

GetColor() public method

public GetColor ( float x, float y ) : Color
x float
y float
return Color

SVGLinearGradientBrush() public method

public SVGLinearGradientBrush ( SVGLinearGradientElement, linearGradElement ) : System
linearGradElement SVGLinearGradientElement,
return System

SVGLinearGradientBrush() public method

public SVGLinearGradientBrush ( SVGLinearGradientElement, linearGradElement, SVGGraphicsPath, graphicsPath ) : System
linearGradElement SVGLinearGradientElement,
graphicsPath SVGGraphicsPath,
return System