Class Stroke
- Namespace
- SVGImage.SVG
- Assembly
- DotNetProjects.SVGImage.dll
public sealed class Stroke
- Inheritance
-
Stroke
- Inherited Members
-
Constructors
Stroke(SVG)
Parameters
svg SVG
Properties
IsDefault
public bool IsDefault { get; set; }
Property Value
- bool
LineCap
public Stroke.eLineCap LineCap { get; set; }
Property Value
- Stroke.eLineCap
LineJoin
public Stroke.eLineJoin LineJoin { get; set; }
Property Value
- Stroke.eLineJoin
Opacity
public double Opacity { get; set; }
Property Value
- double
PaintServerKey
public string PaintServerKey { get; set; }
Property Value
- string
StrokeArray
public double[] StrokeArray { get; set; }
Property Value
- double[]
Width
public double Width { get; set; }
Property Value
- double
get
Property Value
- SVG
Methods
CreateDefault(SVG, double)
public static Stroke CreateDefault(SVG svg, double width)
Parameters
svg SVG
width double
Returns
- Stroke
IsEmpty(SVG)
public bool IsEmpty(SVG svg)
Parameters
svg SVG
Returns
- bool
StrokeBrush(SVG, SVGRender, Shape, double, Rect)
public Brush StrokeBrush(SVG svg, SVGRender svgRender, Shape shape, double elementOpacity, Rect bounds)
Parameters
svg SVG
svgRender SVGRender
shape Shape
elementOpacity double
bounds Rect
Returns
- Brush