public UnitedMarker(synesis.Rect cmarker, int ID) { this.ID = ID; TopLeft = new OPoint() { X = cmarker.LeftTop.X, Y = cmarker.LeftTop.Y }; BottomRight = new OPoint() { X = cmarker.RightBottom.X, Y = cmarker.RightBottom.Y }; FlashFor1D(); }
public UnitedMarker(synesis.SurfaceNormal hmarker, int ID) { this.ID = ID; Top = new OPoint() { X = hmarker.Point.X, Y = hmarker.Point.Y }; Bottom = new OPoint() { X = top.X, Y = top.Y + hmarker.Height }; FlashFor2D(); }