public SVGHatched(Color backgroundColour, Color foregroundColour, Shape.FillStyleC.Patterns pattern, SVGCanvas canvas) { m_BackgroundColour = backgroundColour; m_ForegroundColour = foregroundColour; m_Pattern = pattern; Canvas = canvas; }
public abstract Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern);
public override Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern) { // The patterns from the FillStyleC are compatible with the windows enum return(new NetFill(new HatchBrush((HatchStyle)pattern, foreground, background))); }
public override Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern) { return(new SVGHatched(background, foreground, pattern, this)); }