// public func MoveTopLeftCorner(newTopLeftCorner: SquareFillPoint) public void MoveTopLeftCorner(SquareFillPoint newTopLeftCorner) { _topLeftCorner = CalculatePotentialTopLeftCorner(parentTopLeftCorner: newTopLeftCorner); if (_sprite != null) { _sprite.MoveTopLeftCorner( newX: newTopLeftCorner.X + (_positionRelativeToParentCorner.X * ShapeConstants.SquareWidth), newY: newTopLeftCorner.Y + (_positionRelativeToParentCorner.Y * ShapeConstants.SquareWidth)); } }