SVG/Source/Painting/ISvgStylable.cs

29 строки
880 B
C#

#if !NO_SDC
using System.Drawing.Drawing2D;
#endif
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; }
SvgUnitCollection StrokeDashArray { get; set; }
SvgUnit StrokeDashOffset { get; set; }
#if !NO_SDC
GraphicsPath Path(ISvgRenderer renderer);
#endif
}
}