ISvgStylable.cs 821 Bytes
Newer Older
davescriven's avatar
davescriven committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.Drawing.Drawing2D;

namespace Svg
{
    /// <summary>
    /// Defines the methods and properties required for an SVG element to be styled.
    /// </summary>
    public interface ISvgStylable
    {
        SvgPaintServer Fill { get; set; }
        SvgPaintServer Stroke { get; set; }
        SvgFillRule FillRule { get; set; }
        float Opacity { get; set; }
        float FillOpacity { get; set; }
        float StrokeOpacity { get; set; }
        SvgUnit StrokeWidth { get; set; }
        SvgStrokeLineCap StrokeLineCap { get; set; }
        SvgStrokeLineJoin StrokeLineJoin { get; set; }
        float StrokeMiterLimit { get; set; }
20
        SvgUnitCollection StrokeDashArray { get; set; }
davescriven's avatar
davescriven committed
21
22
23
24
        SvgUnit StrokeDashOffset { get; set; }
        GraphicsPath Path { get; }
    }
}