示例#1
0
 public override void Reflect(int width, bool h)
 {
     base.PointCore  = h ? Element.GetPointRotatedByY(width, base.PointCore) : Element.GetPointRotatedByX(width, base.PointCore);
     base.PointMinus = h ? Element.GetPointRotatedByY(width, base.PointMinus) : Element.GetPointRotatedByX(width, base.PointMinus);
     base.PointPeak  = h ? Element.GetPointRotatedByY(width, base.PointPeak) : Element.GetPointRotatedByX(width, base.PointPeak);
     base.PointPlus  = h ? Element.GetPointRotatedByY(width, base.PointPlus) : Element.GetPointRotatedByX(width, base.PointPlus);
 }
示例#2
0
 public override void Reflect(int width, bool h)
 {
     this.PointMinus = h ? Element.GetPointRotatedByY(width, this.PointMinus) : Element.GetPointRotatedByX(width, this.PointMinus);
     this.PointPlus  = h ? Element.GetPointRotatedByY(width, this.PointPlus) : Element.GetPointRotatedByX(width, this.PointPlus);
 }
示例#3
0
 public override void Reflect(int width, bool h)
 {
     base.BasePoint = h ? Element.GetPointRotatedByY(width, base.BasePoint) : Element.GetPointRotatedByX(width, base.BasePoint);
 }
示例#4
0
 public override void Reflect(int width, bool h)
 {
     this.PointCenter = h ? Element.GetPointRotatedByY(width, this.PointCenter) : Element.GetPointRotatedByX(width, this.PointCenter);
 }