C# Class SharpVectors.Renderer.Gdi.GdiSvgPaint

Inheritance: SharpVectors.Dom.Svg.SvgPaint
显示文件 Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
GdiSvgPaint ( SvgStyleableElement elm, string propName ) : System
GetBrush ( GraphicsPath gp ) : Brush
GetPen ( GraphicsPath gp ) : Pen

Private Methods

Method Description
GetBrush ( GraphicsPath gp, string propPrefix ) : Brush
getDashArray ( float strokeWidth ) : float[]
getDashOffset ( float strokeWidth ) : float
getLineCap ( ) : LineCap
getLineJoin ( ) : LineJoin
getMiterLimit ( ) : float
getOpacity ( string fillOrStroke ) : int
getPaintServer ( string uri ) : PaintServer
getStrokeWidth ( ) : float

Method Details

GdiSvgPaint() public method

public GdiSvgPaint ( SvgStyleableElement elm, string propName ) : System
elm SharpVectors.Dom.Svg.SvgStyleableElement
propName string
return System

GetBrush() public method

public GetBrush ( GraphicsPath gp ) : Brush
gp System.Drawing.Drawing2D.GraphicsPath
return System.Drawing.Brush

GetPen() public method

public GetPen ( GraphicsPath gp ) : Pen
gp System.Drawing.Drawing2D.GraphicsPath
return System.Drawing.Pen