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); }
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); }
public override void Reflect(int width, bool h) { base.BasePoint = h ? Element.GetPointRotatedByY(width, base.BasePoint) : Element.GetPointRotatedByX(width, base.BasePoint); }
public override void Reflect(int width, bool h) { this.PointCenter = h ? Element.GetPointRotatedByY(width, this.PointCenter) : Element.GetPointRotatedByX(width, this.PointCenter); }