C# Class SVGRadialGradientBrush, UnitySVG

显示文件 Open project: MrJoy/UnitySVG Class Usage Examples

Public Methods

Method Description
GetColor ( float x, float y ) : Color
SVGRadialGradientBrush ( SVGRadialGradientElement, radialGradElement ) : System
SVGRadialGradientBrush ( SVGRadialGradientElement, radialGradElement, SVGGraphicsPath, graphicsPath ) : System

Private Methods

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

Method Details

GetColor() public method

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

SVGRadialGradientBrush() public method

public SVGRadialGradientBrush ( SVGRadialGradientElement, radialGradElement ) : System
radialGradElement SVGRadialGradientElement,
return System

SVGRadialGradientBrush() public method

public SVGRadialGradientBrush ( SVGRadialGradientElement, radialGradElement, SVGGraphicsPath, graphicsPath ) : System
radialGradElement SVGRadialGradientElement,
graphicsPath SVGGraphicsPath,
return System