Пример #1
0
 public SVGHatched(Color backgroundColour, Color foregroundColour, Shape.FillStyleC.Patterns pattern, SVGCanvas canvas)
 {
     m_BackgroundColour = backgroundColour;
     m_ForegroundColour = foregroundColour;
     m_Pattern          = pattern;
     Canvas             = canvas;
 }
Пример #2
0
 public abstract Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern);
Пример #3
0
 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)));
 }
Пример #4
0
 public override Fill CreateHatchBrush(Color foreground, Color background, Shape.FillStyleC.Patterns pattern)
 {
     return(new SVGHatched(background, foreground, pattern, this));
 }