Пример #1
0
 public bool Matches(Color byLayerColor, EntityColor byBlockColor)
 {
     if (byLayerColor.ToArgb() == this.color_0.ToArgb())
     {
         return(byBlockColor.ToArgb() == this.entityColor_0.ToArgb());
     }
     return(false);
 }
Пример #2
0
 public bool Matches(DxfLayer layer, EntityColor byBlockColor, DxfLineType byBlockLineType)
 {
     if (layer.Enabled == this.bool_0 && layer.Frozen == this.bool_1 && (layer.Color.ToArgb() == this.color_0.ToArgb() && layer.LineType == this.ByLayerLineType && byBlockColor.ToArgb() == this.entityColor_0.ToArgb()))
     {
         return(byBlockLineType == this.ByBlockLineType);
     }
     return(false);
 }