Esempio n. 1
0
        public RatHatchBrush(Color backcolor, ItopVector.PatternType patterntype, Color forecolor, float fillopacity)
        {
            pattern = new ItopVector.Struct.Pattern(backcolor, patterntype, forecolor);

            this.opacity = fillopacity;
            this.pen     = null;
            this.color   = forecolor;
            this.opacity = ((float)this.color.A) / 255f;
        }
Esempio n. 2
0
 public RatHatchBrush(Color backcolor, ItopVector.PatternType patterntype, Color forecolor) : this(Color.White, ItopVector.PatternType.None, Color.Black, 1f)
 {
 }