Beispiel #1
0
 public override bool InternalShouldApply(BGICanvas bgi)
 {
     return(this.Style != BGICanvas.FillStyle.User &&
            (
                bgi.GetFillColor() != this.Color ||
                bgi.GetFillStyle() != this.Style
            ));
 }
Beispiel #2
0
 public override bool InternalShouldApply(BGICanvas bgi)
 {
     return
         (isUserStyle &&
          (
              bgi.GetFillStyle() != BGICanvas.FillStyle.User ||
              bgi.GetFillColor() != Color ||
              !bgi.GetFillPattern(BGICanvas.FillStyle.User).SequenceEqual(Pattern)
          ));
 }
Beispiel #3
0
 public override void Set(BGICanvas bgi)
 {
     this.Style = bgi.GetFillStyle();
     this.Color = bgi.GetFillColor();
 }